From 7cccb8ea2f8fd34155a2c2c5da9d5b4124e5e2f3 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 15 Feb 2014 17:34:54 +0000 Subject: [PATCH] Fix zeta instances used. --- test/test_zeta.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_zeta.hpp b/test/test_zeta.hpp index af8361663..d70abd442 100644 --- a/test/test_zeta.hpp +++ b/test/test_zeta.hpp @@ -170,8 +170,8 @@ void test_spots(T, const char* t) } if(std::numeric_limits::has_infinity) { - BOOST_CHECK_EQUAL(::boost::math::zeta(static_cast(-10007), boost::math::policies::make_policy(boost::math::policies::overflow_error())), std::numeric_limits::infinity()); - BOOST_CHECK_EQUAL(::boost::math::zeta(static_cast(-10009), boost::math::policies::make_policy(boost::math::policies::overflow_error())), -std::numeric_limits::infinity()); + BOOST_CHECK_EQUAL(::boost::math::zeta(static_cast(-10007)), std::numeric_limits::infinity()); + BOOST_CHECK_EQUAL(::boost::math::zeta(static_cast(-10009)), -std::numeric_limits::infinity()); } #ifdef BOOST_MSVC #pragma warning(pop)