diff options
author | U-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com> | 2014-01-11 03:29:38 +0400 |
---|---|---|
committer | U-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com> | 2014-01-11 03:29:38 +0400 |
commit | 29ab68564d378b4d4a8811c668f665bf7c671e12 (patch) | |
tree | ca6826a8ee2f099ad86ea77512ff80d4898b3042 /vowpalwabbit/parse_args.cc | |
parent | 4903f6c40a0861e31ed91ec3424cc2567e729c24 (diff) |
various windows fixes
Diffstat (limited to 'vowpalwabbit/parse_args.cc')
-rw-r--r-- | vowpalwabbit/parse_args.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/parse_args.cc b/vowpalwabbit/parse_args.cc index c941928b..73ac0d2b 100644 --- a/vowpalwabbit/parse_args.cc +++ b/vowpalwabbit/parse_args.cc @@ -338,7 +338,7 @@ vw* parse_args(int argc, char *argv[]) if (vm.count("progress")) { string progress_str = vm["progress"].as<string>(); - all->progress_arg = ::atof(progress_str.c_str()); + all->progress_arg = (float)::atof(progress_str.c_str()); // --progress interval is dual: either integer or floating-point if (progress_str.find_first_of(".") == string::npos) { |