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:
Diffstat (limited to 'vowpalwabbit/lrq.cc')
-rw-r--r--vowpalwabbit/lrq.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/lrq.cc b/vowpalwabbit/lrq.cc
index 8bdd8551..13534375 100644
--- a/vowpalwabbit/lrq.cc
+++ b/vowpalwabbit/lrq.cc
@@ -252,7 +252,7 @@ namespace LRQ {
if(!all.quiet)
cerr<<endl;
- all.wpp = all.wpp * (1 + maxk);
+ all.wpp = all.wpp * (uint32_t)(1 + maxk);
learner<LRQstate>& l = init_learner(&lrq, setup_base(all), predict_or_learn<true>,
predict_or_learn<false>, 1 + maxk);
l.set_end_pass(reset_seed);