Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2009-12-07 06:30:38 +0300
committerJohn Langford <jl@hunch.net>2009-12-07 06:30:38 +0300
commit5e754be6a54af547e2a1389b006c2912dee9eb78 (patch)
tree9b92e8bd5989ee34218adab3a96d15880222c99b /sender.cc
parentc85ededdc3014a49db2026514e656f72472b32a5 (diff)
Fixed sender configuration bug.
Diffstat (limited to 'sender.cc')
-rw-r--r--sender.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sender.cc b/sender.cc
index 878a051d..3cc67829 100644
--- a/sender.cc
+++ b/sender.cc
@@ -46,7 +46,7 @@ size_t find_split(size_t number)
d_2 = d_1 / 2;
else {
d_2 = d_1;
- if (d_1 * 2 * d_2 < number)
+ if (d_1 * 2 * d_2 <= number)
d_1 *=2;
}
}