diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-03-18 16:46:15 +0300 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-03-18 16:46:15 +0300 |
commit | 058abc32c378cbae1b2ea615f13e4681a8b1f4fd (patch) | |
tree | b459d03ab528c8320104a680d9ff494146d54600 /moses/server/Optimizer.cpp | |
parent | 1ca4f4253929f2488230d6ae622c19df8fad5089 (diff) |
Fixes (?) numerous bugs discovered when the code was actually compiled (an error in the bjam configuration prevented this).
Diffstat (limited to 'moses/server/Optimizer.cpp')
-rw-r--r-- | moses/server/Optimizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/server/Optimizer.cpp b/moses/server/Optimizer.cpp index 838ae5c7f..d7d5f939c 100644 --- a/moses/server/Optimizer.cpp +++ b/moses/server/Optimizer.cpp @@ -1,4 +1,5 @@ #include "Optimizer.h" +#include <iostream> namespace MosesServer { @@ -64,7 +65,7 @@ namespace MosesServer #else string errmsg = "Error: Perplexity minimization requires dlib "; errmsg += "(compilation option --with-dlib)"; - cerr << errmsg << endl; + std::cerr << errmsg << std::endl; *retvalP = xmlrpc_c::value_string(errmsg); #endif } |