diff options
author | Deanna Hood <deanna.m.hood@gmail.com> | 2015-03-17 22:39:51 +1000 |
---|---|---|
committer | Deanna Hood <deanna.m.hood@gmail.com> | 2015-03-17 22:39:51 +1000 |
commit | 8878e1c1de73bddbcbd5d801d647ae6dcbc4e778 (patch) | |
tree | 59e36a94aa8b0fa54d8913ae598611db93c5f195 /test/main.h | |
parent | 596be3cd86ad976c7e03a871fc44a95f377bfe0f (diff) |
Remove ambiguity with recent numext methods isNaN and isInf
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 7 |
1 files changed, 1 insertions, 6 deletions
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<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(); } |