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
commit2e00c663cf271233610dc1633c7fb1d4a43cd214 (patch)
treeeffd075381b24f7d43fbb850d3b9385c4ca39034 /dpmert
parent09a522afef40e514e741ddf5f9bbc61cfb2170e8 (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) {