diff --git a/test/test_roots.cpp b/test/test_roots.cpp index 2a1e403a8..552627c3b 100644 --- a/test/test_roots.cpp +++ b/test/test_roots.cpp @@ -328,6 +328,8 @@ void test_complex_newton() { typedef typename Complex::value_type Real; std::cout << "Testing complex Newton's Method on type " << boost::typeindex::type_id().pretty_name() << "\n"; + using std::abs; + using std::sqrt; using boost::math::tools::complex_newton; using boost::math::tools::polynomial; using boost::math::constants::half; @@ -385,7 +387,6 @@ BOOST_AUTO_TEST_CASE( test_main ) #ifndef BOOST_NO_CXX11_AUTO_DECLARATIONS test_complex_newton>(); test_complex_newton>(); - test_complex_newton>(); test_complex_newton(); #endif