diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2020-10-14 21:48:26 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2020-10-14 21:48:26 +0300 |
commit | 5cbafabfd5ed2833ca8808bdca6e785935713159 (patch) | |
tree | 9241d58ee99902ff65325f1a06fc33259dd1c3a6 | |
parent | 83baf4daec835c2209b05081c6993957ae9631aa (diff) |
incorrect assert
-rw-r--r-- | moses2/Array.h | 2 |
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: |