diff --git a/maths.hpp b/maths.hpp index a0c5f028..5d9af8e8 100644 --- a/maths.hpp +++ b/maths.hpp @@ -64,7 +64,8 @@ namespace util { inline typename std::enable_if_t< std::is_floating_point::value && - std::is_floating_point::value, + std::is_floating_point::value && + !std::is_same::value , bool > almost_equal (const A &a, const B &b)