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 <hieuhoang@gmail.com>2016-10-03 14:03:18 +0300
committerHieu Hoang <hieuhoang@gmail.com>2016-10-03 14:03:18 +0300
commit968c72538f6976f6558f0799e7d0b1293b7e3d96 (patch)
treead545cdbf16698f5a8ff1011165a9992adb21af3
parent457cd99e6a65c6fd2492b65cacb32cfbdc174eb8 (diff)
error creating subphrase
-rw-r--r--contrib/moses2/SubPhrase.h2
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;
}