aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/main.h b/test/main.h
index 3591b57a1..d336d4d9b 100644
--- a/test/main.h
+++ b/test/main.h
@@ -448,12 +448,7 @@ template<typename T> bool isNotNaN(const T& x)
return x==x;
}
-template<typename T> bool isNaN(const T& x)
-{
- return x!=x;
-}
-
-template<typename T> bool isInf(const T& x)
+template<typename T> bool isPlusInf(const T& x)
{
return x > NumTraits<T>::highest();
}