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>2015-11-04 13:54:46 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-04 13:54:46 +0300
commite87dd15f4a320febefd8c41d19e3ed0b939f5d47 (patch)
tree5fb41b78c7420a9fc9e2bff79cb55e4fed91fc6d /moses/Hypothesis.cpp
parent0db2f8312aafa5042003921d6eba64f30b4ddd5c (diff)
equality comparison using pointers
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r--moses/Hypothesis.cpp2
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;
}