Remove ambiguity with recent numext methods isNaN and isInf

This commit is contained in:
Deanna Hood
2015-03-17 22:39:51 +10:00
parent 596be3cd86
commit 8878e1c1de
3 changed files with 26 additions and 31 deletions

View File

@@ -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();
}