diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-04 13:54:46 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-04 13:54:46 +0300 |
commit | e87dd15f4a320febefd8c41d19e3ed0b939f5d47 (patch) | |
tree | 5fb41b78c7420a9fc9e2bff79cb55e4fed91fc6d /moses/Hypothesis.cpp | |
parent | 0db2f8312aafa5042003921d6eba64f30b4ddd5c (diff) |
equality comparison using pointers
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r-- | moses/Hypothesis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp index c26889275..9a9980ddd 100644 --- a/moses/Hypothesis.cpp +++ b/moses/Hypothesis.cpp @@ -585,7 +585,7 @@ size_t Hypothesis::hash() const bool Hypothesis::operator==(const Hypothesis& other) const { // coverage - if (m_sourceCompleted != other.m_sourceCompleted) { + if (&m_sourceCompleted != &other.m_sourceCompleted) { return false; } |