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:
authorU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2014-01-11 03:29:38 +0400
committerU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2014-01-11 03:29:38 +0400
commit29ab68564d378b4d4a8811c668f665bf7c671e12 (patch)
treeca6826a8ee2f099ad86ea77512ff80d4898b3042 /vowpalwabbit/vw.h
parent4903f6c40a0861e31ed91ec3424cc2567e729c24 (diff)
various windows fixes
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r--vowpalwabbit/vw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vowpalwabbit/vw.h b/vowpalwabbit/vw.h
index 258361b0..15b04421 100644
--- a/vowpalwabbit/vw.h
+++ b/vowpalwabbit/vw.h
@@ -108,9 +108,9 @@ namespace VW {
inline void update_dump_interval(vw& all) {
if (all.progress_add) {
- all.sd->dump_interval = all.sd->weighted_examples + all.progress_arg;
+ all.sd->dump_interval = (float)all.sd->weighted_examples + all.progress_arg;
} else {
- all.sd->dump_interval = all.sd->weighted_examples * all.progress_arg;
+ all.sd->dump_interval = (float)all.sd->weighted_examples * all.progress_arg;
}
}
}