From d06bcf1bb096cf6272acf86d42ac5deac18e0981 Mon Sep 17 00:00:00 2001 From: zhaohui0923 <295493195@qq.com> Date: Thu, 18 Aug 2022 10:48:32 +0800 Subject: [PATCH] fix interval::excludes() comment --- include/boost/safe_numerics/interval.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }