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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU-DESKTOP-ONHNTIV\hieuh <hieu@hoang.co.uk>2015-08-05 20:15:09 +0300
committerU-DESKTOP-ONHNTIV\hieuh <hieu@hoang.co.uk>2015-08-05 20:15:09 +0300
commit626a53e7dfe463f18b0e685cad0989283dc3748e (patch)
tree665187c002fec14df666981742840bf663f079e4 /phrase-extract
parent4c3a6a3f3fb66e4f489ae264595f0a1792339ed8 (diff)
compile error on 4.9.3 on cygwin
Diffstat (limited to 'phrase-extract')
-rw-r--r--phrase-extract/consolidate-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/phrase-extract/consolidate-main.cpp b/phrase-extract/consolidate-main.cpp
index c9496f988..0f276144b 100644
--- a/phrase-extract/consolidate-main.cpp
+++ b/phrase-extract/consolidate-main.cpp
@@ -165,7 +165,7 @@ int main(int argc, char* argv[])
}
pos = single_setting.find(":");
UTIL_THROW_IF2(pos == std::string::npos, "faulty MinScore setting '" << single_setting << "' in '" << argv[i] << "'");
- unsigned int field = std::atoll( single_setting.substr(0,pos).c_str() );
+ unsigned int field = atoll( single_setting.substr(0,pos).c_str() );
float threshold = std::atof( single_setting.substr(pos+1).c_str() );
if (field == 0) {
minScore0 = threshold;