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>2020-10-14 21:48:26 +0300
committerHieu Hoang <hieuhoang@gmail.com>2020-10-14 21:48:26 +0300
commit5cbafabfd5ed2833ca8808bdca6e785935713159 (patch)
tree9241d58ee99902ff65325f1a06fc33259dd1c3a6
parent83baf4daec835c2209b05081c6993957ae9631aa (diff)
incorrect assert
-rw-r--r--moses2/Array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses2/Array.h b/moses2/Array.h
index d9402a704..fa6db557e 100644
--- a/moses2/Array.h
+++ b/moses2/Array.h
@@ -72,7 +72,7 @@ public:
}
void resize(size_t newSize) {
- assert(m_size < m_maxSize);
+ assert(m_size <= m_maxSize);
m_size = newSize;
}
protected: