diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2016-10-03 14:03:18 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2016-10-03 14:03:18 +0300 |
commit | 968c72538f6976f6558f0799e7d0b1293b7e3d96 (patch) | |
tree | ad545cdbf16698f5a8ff1011165a9992adb21af3 | |
parent | 457cd99e6a65c6fd2492b65cacb32cfbdc174eb8 (diff) |
error creating subphrase
-rw-r--r-- | contrib/moses2/SubPhrase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/moses2/SubPhrase.h b/contrib/moses2/SubPhrase.h index 5b2cf4f04..893a7ba8f 100644 --- a/contrib/moses2/SubPhrase.h +++ b/contrib/moses2/SubPhrase.h @@ -26,7 +26,7 @@ public: SubPhrase GetSubPhrase(size_t start, size_t size) const { - SubPhrase ret(*m_origPhrase, m_start + start, m_size); + SubPhrase ret(*m_origPhrase, m_start + start, size); return ret; } |