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/ChartHypothesisCollection.cpp
parent13e1adf0002c00b84ff9735d5afddb7e0b73530e (diff)
beautify
Diffstat (limited to 'moses/ChartHypothesisCollection.cpp')
-rw-r--r--moses/ChartHypothesisCollection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/ChartHypothesisCollection.cpp b/moses/ChartHypothesisCollection.cpp
index 8cccf3083..f3116fb43 100644
--- a/moses/ChartHypothesisCollection.cpp
+++ b/moses/ChartHypothesisCollection.cpp
@@ -61,10 +61,10 @@ ChartHypothesisCollection::~ChartHypothesisCollection()
bool ChartHypothesisCollection::AddHypothesis(ChartHypothesis *hypo, ChartManager &manager)
{
if (hypo->GetTotalScore() == - std::numeric_limits<float>::infinity()) {
- manager.GetSentenceStats().AddDiscarded();
- VERBOSE(3,"discarded, -inf score" << std::endl);
- ChartHypothesis::Delete(hypo);
- return false;
+ manager.GetSentenceStats().AddDiscarded();
+ VERBOSE(3,"discarded, -inf score" << std::endl);
+ ChartHypothesis::Delete(hypo);
+ return false;
}
if (hypo->GetTotalScore() < m_bestScore + m_beamWidth) {