diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-02 13:45:24 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-02 13:45:24 +0300 |
commit | cc8c6b7b10abd8118014635609f7658f6a7a1857 (patch) | |
tree | cab374bcbf73ff97782e9131380e4f32dbeb1e67 /moses/StaticData.h | |
parent | a4a7c14593766ab188e1d6ae1c29e67ed201d412 (diff) |
beautify
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r-- | moses/StaticData.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/moses/StaticData.h b/moses/StaticData.h index 438ac0633..2b46d1ef0 100644 --- a/moses/StaticData.h +++ b/moses/StaticData.h @@ -476,18 +476,18 @@ public: // m_searchAlgorithm == SyntaxF2S; // } - bool IsSyntax(SearchAlgorithm algo = DefaultSearchAlgorithm) const - { + bool IsSyntax(SearchAlgorithm algo = DefaultSearchAlgorithm) const { if (algo == DefaultSearchAlgorithm) algo = m_searchAlgorithm; return (algo == CYKPlus || algo == ChartIncremental || - algo == SyntaxS2T || algo == SyntaxT2S || - algo == SyntaxF2S || algo == SyntaxT2S_SCFG); + algo == SyntaxS2T || algo == SyntaxT2S || + algo == SyntaxF2S || algo == SyntaxT2S_SCFG); } const ScoreComponentCollection& - GetAllWeights() const - { return m_allWeights; } + GetAllWeights() const { + return m_allWeights; + } void SetAllWeights(const ScoreComponentCollection& weights) { m_allWeights = weights; |