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:
authorNicola Bertoldi <bertoldi@fbk.eu>2014-05-19 17:34:27 +0400
committerNicola Bertoldi <bertoldi@fbk.eu>2014-05-19 17:34:27 +0400
commit2f3cd5e2fe54f0352eee4657ea91e0039073a95a (patch)
tree535b1f445dd9f762997bc0dd0ef7a17f9500e250 /moses/ChartTranslationOptionList.cpp
parentd85bd05e1827ceb917ab3664fee34fd05725eab6 (diff)
beautify
Diffstat (limited to 'moses/ChartTranslationOptionList.cpp')
-rw-r--r--moses/ChartTranslationOptionList.cpp10
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)