diff options
Diffstat (limited to 'impl/Complete.hpp')
-rw-r--r-- | impl/Complete.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/impl/Complete.hpp b/impl/Complete.hpp index 22e060a..11f2f83 100644 --- a/impl/Complete.hpp +++ b/impl/Complete.hpp @@ -81,7 +81,7 @@ struct Complete { return other._infinity && ((_value < 0 && other._value < 0) || (_value > 0 && other._value > 0)); } else { - return _value == other._value; + return !other._infinity && (_value == other._value); } } bool operator!=(const Complete& other) const { |