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-04-30 21:18:45 +0400
committerU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2014-04-30 21:18:45 +0400
commit682967bd83b2477a697d71f54914e5e184ea2c4c (patch)
tree3c75ae48b41f03ee295c99af79c9857517d3552d /vowpalwabbit/multiclass.cc
parent68f45045136984360b49ebb25b8fc3f6a42b3679 (diff)
VS2012 typefixes and bugfixes
Diffstat (limited to 'vowpalwabbit/multiclass.cc')
-rw-r--r--vowpalwabbit/multiclass.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/multiclass.cc b/vowpalwabbit/multiclass.cc
index 10805753..c6608b4f 100644
--- a/vowpalwabbit/multiclass.cc
+++ b/vowpalwabbit/multiclass.cc
@@ -169,7 +169,7 @@ namespace MULTICLASS {
}
for (int* sink = all.final_prediction_sink.begin; sink != all.final_prediction_sink.end; sink++)
- all.print(*sink, ld->prediction, 0, ec.tag);
+ all.print(*sink, (float)ld->prediction, 0, ec.tag);
MULTICLASS::print_update(all, ec);
}