From aa5f79206fb632d141c3555338f89f59d1bb4633 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 20 Oct 2014 11:38:51 +0200 Subject: Fix bug #859: pexp(NaN) returned Inf instead of NaN --- test/stable_norm.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'test/stable_norm.cpp') diff --git a/test/stable_norm.cpp b/test/stable_norm.cpp index 6cd65c64a..650f62a8a 100644 --- a/test/stable_norm.cpp +++ b/test/stable_norm.cpp @@ -9,26 +9,6 @@ #include "main.h" -template bool isNotNaN(const T& x) -{ - return x==x; -} - -template bool isNaN(const T& x) -{ - return x!=x; -} - -template bool isInf(const T& x) -{ - return x > NumTraits::highest(); -} - -template bool isMinusInf(const T& x) -{ - return x < NumTraits::lowest(); -} - // workaround aggressive optimization in ICC template EIGEN_DONT_INLINE T sub(T a, T b) { return a - b; } -- cgit v1.2.3