diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:44:59 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:44:59 +0400 |
commit | 1fe4eb0528dee1e896716675bae13bd15d6fe1ac (patch) | |
tree | a7009dbde77a0fd2fe97a2d9c352d26a32bffcc1 /moses-cmd | |
parent | 4d75c889f1e2fe3dd063525bdbbe516a9d71f579 (diff) |
beautify
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/IOWrapper.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/moses-cmd/IOWrapper.cpp b/moses-cmd/IOWrapper.cpp index f9362575f..395bb4260 100644 --- a/moses-cmd/IOWrapper.cpp +++ b/moses-cmd/IOWrapper.cpp @@ -437,8 +437,7 @@ void IOWrapper::OutputBestHypo(const Hypothesis *hypo, long /*translationId*/, c if (hypo != NULL) { VERBOSE(1,"BEST TRANSLATION: " << *hypo << endl); VERBOSE(3,"Best path: "); - if (StaticData::Instance().IsPassthroughEnabled()) - { + if (StaticData::Instance().IsPassthroughEnabled()) { OutputPassthroughInformation(cout, hypo); } Backtrack(hypo); @@ -481,8 +480,7 @@ void OutputNBest(std::ostream& out // print the surface factor of the translation out << translationId << " ||| "; - if (staticData.IsPassthroughInNBestEnabled()) - { + if (staticData.IsPassthroughInNBestEnabled()) { OutputPassthroughInformation(out, edges[edges.size() - 1]); } for (int currEdge = (int)edges.size() - 1 ; currEdge >= 0 ; currEdge--) { |