summaryrefslogtreecommitdiff
path: root/boost/test/tools/floating_point_comparison.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/test/tools/floating_point_comparison.hpp')
-rw-r--r--boost/test/tools/floating_point_comparison.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/test/tools/floating_point_comparison.hpp b/boost/test/tools/floating_point_comparison.hpp
index fac914c91d..d704a41092 100644
--- a/boost/test/tools/floating_point_comparison.hpp
+++ b/boost/test/tools/floating_point_comparison.hpp
@@ -1,4 +1,4 @@
-// (C) Copyright Gennadiy Rozental 2001-2014.
+// (C) Copyright Gennadiy Rozental 2001.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
@@ -285,7 +285,7 @@ public:
// Action method
bool operator()( FPT fpv ) const
{
- return fpc::fpc_detail::fpt_abs( fpv ) < m_tolerance;
+ return fpc::fpc_detail::fpt_abs( fpv ) <= m_tolerance;
}
private: