From 8878e1c1de73bddbcbd5d801d647ae6dcbc4e778 Mon Sep 17 00:00:00 2001 From: Deanna Hood Date: Tue, 17 Mar 2015 22:39:51 +1000 Subject: Remove ambiguity with recent numext methods isNaN and isInf --- test/main.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index ecf0c6924..5849cedd9 100644 --- a/test/main.h +++ b/test/main.h @@ -442,12 +442,7 @@ template bool isNotNaN(const T& x) return x==x; } -template bool isNaN(const T& x) -{ - return x!=x; -} - -template bool isInf(const T& x) +template bool isPlusInf(const T& x) { return x > NumTraits::highest(); } -- cgit v1.2.3