diff --git a/corsika/detail/framework/random/random_iterator/detail/uint128.inl b/corsika/detail/framework/random/random_iterator/detail/uint128.inl index 685d641a0927b52a8446e096775ff1dd101256a4..d3ee839f7e9d68a252df99029dbe1a1c5e740e39 100644 --- a/corsika/detail/framework/random/random_iterator/detail/uint128.inl +++ b/corsika/detail/framework/random/random_iterator/detail/uint128.inl @@ -211,11 +211,11 @@ namespace random_iterator { } inline bool uint128_t::operator>=(const uint128_t& rhs) const { - return ((*this > rhs) | (*this == rhs)); + return ((*this > rhs) || (*this == rhs)); } inline bool uint128_t::operator<=(const uint128_t& rhs) const { - return ((*this < rhs) | (*this == rhs)); + return ((*this < rhs) || (*this == rhs)); } inline uint128_t uint128_t::operator+(const uint128_t& rhs) const {