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:
authorHieu Hoang <hieu@hoang.co.uk>2013-06-26 20:19:09 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-06-26 20:19:09 +0400
commitefc2c6145e3645fdc58001323cbeb9e43fed415a (patch)
treeadb8cea01dda8cb8a98f85884c382673f27e7cdc /moses/TargetPhraseCollection.cpp
parent771e792bb43f2cc8ecd18bde19de256262b2af64 (diff)
beautify
Diffstat (limited to 'moses/TargetPhraseCollection.cpp')
-rw-r--r--moses/TargetPhraseCollection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TargetPhraseCollection.cpp b/moses/TargetPhraseCollection.cpp
index 7c664751f..9a28dbd5d 100644
--- a/moses/TargetPhraseCollection.cpp
+++ b/moses/TargetPhraseCollection.cpp
@@ -37,8 +37,8 @@ void TargetPhraseCollection::NthElement(size_t tableLimit)
{
vector<TargetPhrase*>::iterator nth;
nth = (tableLimit && tableLimit <= m_collection.size()
- ? m_collection.begin() + tableLimit
- : m_collection.end());
+ ? m_collection.begin() + tableLimit
+ : m_collection.end());
std::nth_element(m_collection.begin(), nth, m_collection.end(), CompareTargetPhrase());
}