[compute] 17/49: Fix overlooked violation of the Boost min/max guidelines

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Dec 18 17:58:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository compute.

commit bf78ec5ff142fb1006f21d5d6e7c5ed4355fd51a
Author: Jakub Szuppe <j.szuppe at gmail.com>
Date:   Sat Aug 1 13:24:00 2015 +0200

    Fix overlooked violation of the Boost min/max guidelines
---
 test/test_accumulate.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_accumulate.cpp b/test/test_accumulate.cpp
index 8b56043..b77c07d 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<float>::min()), max<float>(), queue
+        vec.begin(), vec.end(), (std::numeric_limits<float>::min)(), max<float>(), queue
     );
     BOOST_CHECK_EQUAL(max_value, 9.6f);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git



More information about the debian-science-commits mailing list