mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Fix compile error
This commit is contained in:
parent
9d42c7f6f7
commit
c6e36f4dd7
@ -197,7 +197,7 @@ public:
|
||||
string nbestFile = staticData.GetNBestFilePath();
|
||||
if ( ! nbestFile.empty() && nbestFile!="-" && !boost::starts_with(nbestFile,"/dev/stdout") ) {
|
||||
boost::filesystem::path nbestPath(nbestFile);
|
||||
hypergraphDir = nbestPath.parent_path().filename().native();
|
||||
//hypergraphDir = nbestPath.parent_path().filename().native();
|
||||
} else {
|
||||
stringstream hypergraphDirName;
|
||||
hypergraphDirName << boost::filesystem::current_path() << "/hypergraph";
|
||||
|
Loading…
Reference in New Issue
Block a user