diff --git a/test/test_accumulate.cpp b/test/test_accumulate.cpp index 8b5604322..b77c07df9 100644 --- a/test/test_accumulate.cpp +++ b/test/test_accumulate.cpp @@ -238,7 +238,7 @@ BOOST_AUTO_TEST_CASE(min_max) BOOST_CHECK_EQUAL(min_value, 0.1f); float max_value = boost::compute::accumulate( - vec.begin(), vec.end(), (std::numeric_limits::min()), max(), queue + vec.begin(), vec.end(), (std::numeric_limits::min)(), max(), queue ); BOOST_CHECK_EQUAL(max_value, 9.6f);