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/FactorCollection.cpp
parentd85bd05e1827ceb917ab3664fee34fd05725eab6 (diff)
beautify
Diffstat (limited to 'moses/FactorCollection.cpp')
-rw-r--r--moses/FactorCollection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/FactorCollection.cpp b/moses/FactorCollection.cpp
index 5013da417..93edeff51 100644
--- a/moses/FactorCollection.cpp
+++ b/moses/FactorCollection.cpp
@@ -59,8 +59,7 @@ const Factor *FactorCollection::AddFactor(const StringPiece &factorString, bool
if (isNonTerminal) {
m_factorIdNonTerminal++;
UTIL_THROW_IF2(m_factorIdNonTerminal >= moses_MaxNumNonterminals, "Number of non-terminals exceeds maximum size reserved. Adjust parameter moses_MaxNumNonterminals, then recompile");
- }
- else {
+ } else {
m_factorId++;
}
}