diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-19 16:52:47 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-19 16:52:47 +0400 |
commit | 1234b433da1dff9f9d7240b3e6ba38087df3edba (patch) | |
tree | a6b50e580b0433e8a20119bd498d8ba914ff6d4c /moses/InputPath.cpp | |
parent | 320f7d575db9f7b8427a8730ad414d3af80ab6c4 (diff) |
minor compile error
Diffstat (limited to 'moses/InputPath.cpp')
-rw-r--r-- | moses/InputPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/InputPath.cpp b/moses/InputPath.cpp index cfc98e3b3..ed49718ad 100644 --- a/moses/InputPath.cpp +++ b/moses/InputPath.cpp @@ -15,7 +15,7 @@ InputPath::InputPath(const Phrase &phrase, const WordsRange &range, const InputP { FactorType factorType = StaticData::Instance().GetPlaceholderFactor(); if (factorType != NOT_FOUND) { - for (size_t pos = 0; pos < m_phrase.size(); ++pos) { + for (size_t pos = 0; pos < m_phrase.GetSize(); ++pos) { if (m_phrase.GetFactor(pos, factorType)) { m_placeholders.push_back(pos); } |