summaryrefslogtreecommitdiff
path: root/dpmert
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-16 01:42:55 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-16 01:42:55 -0400
commitb98f7e8de2c35937c227236ddb986df4879edb5f (patch)
treee6ebc489593c6c9a7ff08ea75c9e12e6c2c9128c /dpmert
parent51b5c16c9110999ac573bd3383d7eb0e3f10fc37 (diff)
c++11 compatibility
Diffstat (limited to 'dpmert')
-rw-r--r--dpmert/lo_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpmert/lo_test.cc b/dpmert/lo_test.cc
index 2daf87bb..95a08d3d 100644
--- a/dpmert/lo_test.cc
+++ b/dpmert/lo_test.cc
@@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE( TestCheckNaN) {
double x = 0;
double y = 0;
double z = x / y;
- BOOST_CHECK_EQUAL(true, isnan(z));
+ BOOST_CHECK_EQUAL(true, std::isnan(z));
}
BOOST_AUTO_TEST_CASE(TestConvexHull) {