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:
authorHieu Hoang <hieu@hoang.co.uk>2013-09-27 12:35:24 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-09-27 12:35:24 +0400
commit31ce9b510e9a06e998ddddfbe92f0192cf7656b8 (patch)
tree3bfd084ffb9eb72abe1a560cee0be3b5dc0ace7b /moses/HypothesisStackCubePruning.cpp
parent13e1adf0002c00b84ff9735d5afddb7e0b73530e (diff)
beautify
Diffstat (limited to 'moses/HypothesisStackCubePruning.cpp')
-rw-r--r--moses/HypothesisStackCubePruning.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/HypothesisStackCubePruning.cpp b/moses/HypothesisStackCubePruning.cpp
index 7de62b0c1..8929c974e 100644
--- a/moses/HypothesisStackCubePruning.cpp
+++ b/moses/HypothesisStackCubePruning.cpp
@@ -82,10 +82,10 @@ pair<HypothesisStackCubePruning::iterator, bool> HypothesisStackCubePruning::Add
bool HypothesisStackCubePruning::AddPrune(Hypothesis *hypo)
{
if (hypo->GetTotalScore() == - std::numeric_limits<float>::infinity()) {
- m_manager.GetSentenceStats().AddDiscarded();
- VERBOSE(3,"discarded, constraint" << std::endl);
- FREEHYPO(hypo);
- return false;
+ m_manager.GetSentenceStats().AddDiscarded();
+ VERBOSE(3,"discarded, constraint" << std::endl);
+ FREEHYPO(hypo);
+ return false;
}
if (hypo->GetTotalScore() < m_worstScore) {