We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4ce9af commit 4b98ca5Copy full SHA for 4b98ca5
1 file changed
src/Neighbor/PairwiseField.hh
@@ -60,8 +60,8 @@ public:
60
iterator end() { REQUIRE(!mPairsPtr.expired()); return iterator(&(*mArray.end())); }
61
62
// Comparators
63
- bool operator==(const PairwiseField& rhs) const { REQUIRE(!mPairPtr.expired()); return mArray == rhs.mArray; }
64
- bool operator!=(const PairwiseField& rhs) const { REQUIRE(!mPairPtr.expired()); return mArray != rhs.mArray; }
+ bool operator==(const PairwiseField& rhs) const { REQUIRE(!mPairsPtr.expired()); return mArray == rhs.mArray; }
+ bool operator!=(const PairwiseField& rhs) const { REQUIRE(!mPairsPtr.expired()); return mArray != rhs.mArray; }
65
66
// Other methods
67
const NodePairList& pairs() const;
0 commit comments