From d40be2dbf7389e6595076965a1afdba5b0ff4097 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 23 Mar 2010 17:26:05 +0000 Subject: [PATCH] - feeder: compile fix svn path=/trunk/boinc/; revision=20987 --- checkin_notes | 6 ++++++ sched/feeder.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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