diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:44:59 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:44:59 +0400 |
commit | 1fe4eb0528dee1e896716675bae13bd15d6fe1ac (patch) | |
tree | a7009dbde77a0fd2fe97a2d9c352d26a32bffcc1 /moses/Phrase.h | |
parent | 4d75c889f1e2fe3dd063525bdbbe516a9d71f579 (diff) |
beautify
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r-- | moses/Phrase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h index d19cdc651..e910cbb2a 100644 --- a/moses/Phrase.h +++ b/moses/Phrase.h @@ -140,8 +140,9 @@ public: } size_t GetNumTerminals() const; - size_t GetNumNonTerminals() const - { return GetSize() - GetNumTerminals(); } + size_t GetNumNonTerminals() const { + return GetSize() - GetNumTerminals(); + } //! whether the 2D vector is a substring of this phrase bool Contains(const std::vector< std::vector<std::string> > &subPhraseVector |