diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 21:16:15 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 21:16:15 +0400 |
commit | 6249432407af8730c10bccc7894c0725fcaf5e47 (patch) | |
tree | 3ac1f094b9fdc199b04bc5ef209ce00e3596e37d /moses/TargetPhraseCollection.cpp | |
parent | 59bd7deb4b6b9c4f7b3b7dbb055783528fbc31ca (diff) |
beautify
Diffstat (limited to 'moses/TargetPhraseCollection.cpp')
-rw-r--r-- | moses/TargetPhraseCollection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TargetPhraseCollection.cpp b/moses/TargetPhraseCollection.cpp index 78b63d852..88ce28eb6 100644 --- a/moses/TargetPhraseCollection.cpp +++ b/moses/TargetPhraseCollection.cpp @@ -59,8 +59,8 @@ void TargetPhraseCollection::Sort(bool adhereTableLimit, size_t tableLimit) { std::vector<TargetPhrase*>::iterator iterMiddle; iterMiddle = (tableLimit == 0 || m_collection.size() < tableLimit) - ? m_collection.end() - : m_collection.begin()+tableLimit; + ? m_collection.end() + : m_collection.begin()+tableLimit; std::partial_sort(m_collection.begin(), iterMiddle, m_collection.end(), CompareTargetPhrase()); |