mirror of https://github.com/BOINC/boinc.git
- feeder: compile fix
svn path=/trunk/boinc/; revision=20987
This commit is contained in:
parent
ea56e5df42
commit
d40be2dbf7
|
@ -2057,3 +2057,9 @@ Charlie 23 Mar 2010
|
|||
|
||||
clientscr/
|
||||
screensaver.cpp
|
||||
|
||||
David 23 Mar 2010
|
||||
- feeder: compile fix
|
||||
|
||||
sched/
|
||||
feeder.cpp
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue