diff --git a/checkin_notes b/checkin_notes index 87421c7725..6af0d1e5c5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2057,3 +2057,9 @@ Charlie 23 Mar 2010 clientscr/ screensaver.cpp + +David 23 Mar 2010 + - feeder: compile fix + + sched/ + feeder.cpp diff --git a/sched/feeder.cpp b/sched/feeder.cpp index 808b06aba0..b839626a5a 100644 --- a/sched/feeder.cpp +++ b/sched/feeder.cpp @@ -838,7 +838,7 @@ int main(int argc, char** argv) { weights[i] = ssp->apps[i].weight; } for (i=0; inapps; 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