- feeder: compile fix

svn path=/trunk/boinc/; revision=20987
This commit is contained in:
David Anderson 2010-03-23 17:26:05 +00:00
parent ea56e5df42
commit d40be2dbf7
2 changed files with 7 additions and 1 deletions

View File

@ -2057,3 +2057,9 @@ Charlie 23 Mar 2010
clientscr/
screensaver.cpp
David 23 Mar 2010
- feeder: compile fix
sched/
feeder.cpp

View File

@ -838,7 +838,7 @@ int main(int argc, char** argv) {
weights[i] = ssp->apps[i].weight;
}
for (i=0; i<ssp->napps; i++) {
enum_sizes[i] = (int) floor(0.5 + enum_limit*(weights[i])/(ssp->app_weights));
enum_sizes[i] = (int) floor(0.5 + enum_limit*(weights[i])/(ssp->app_weight_sum));
}
weighted_interleave(
weights, ssp->napps, ssp->max_wu_results, app_indices, counts