diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-05-19 17:34:27 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-05-19 17:34:27 +0400 |
commit | 2f3cd5e2fe54f0352eee4657ea91e0039073a95a (patch) | |
tree | 535b1f445dd9f762997bc0dd0ef7a17f9500e250 /moses/ChartTranslationOptionList.cpp | |
parent | d85bd05e1827ceb917ab3664fee34fd05725eab6 (diff) |
beautify
Diffstat (limited to 'moses/ChartTranslationOptionList.cpp')
-rw-r--r-- | moses/ChartTranslationOptionList.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/ChartTranslationOptionList.cpp b/moses/ChartTranslationOptionList.cpp index 586ecb40d..32ee8b18d 100644 --- a/moses/ChartTranslationOptionList.cpp +++ b/moses/ChartTranslationOptionList.cpp @@ -161,11 +161,11 @@ void ChartTranslationOptionList::ApplyThreshold() float ChartTranslationOptionList::GetBestScore(const ChartCellLabel *chartCell) const { - const HypoList *stack = chartCell->GetStack().cube; - assert(stack); - assert(!stack->empty()); - const ChartHypothesis &bestHypo = **(stack->begin()); - return bestHypo.GetTotalScore(); + const HypoList *stack = chartCell->GetStack().cube; + assert(stack); + assert(!stack->empty()); + const ChartHypothesis &bestHypo = **(stack->begin()); + return bestHypo.GetTotalScore(); } void ChartTranslationOptionList::Evaluate(const InputType &input, const InputPath &inputPath) |