diff --git a/include/boost/safe_numerics/interval.hpp b/include/boost/safe_numerics/interval.hpp index c8a147e..f651523 100644 --- a/include/boost/safe_numerics/interval.hpp +++ b/include/boost/safe_numerics/interval.hpp @@ -61,7 +61,7 @@ struct interval { return u >= t.u && l <= t.l; } - // return true if this interval contains the given point + // return true if this interval excludes the given point constexpr tribool excludes(const R & t) const { return t < l || t > u; }