From d1f7d25ea510dd26a26b83eab1634705756e995e Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 26 Apr 2010 19:04:03 -0500 Subject: CarpetReduce: Use nan handling from CarpetLib --- Carpet/CarpetReduce/src/reduce.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Carpet/CarpetReduce') diff --git a/Carpet/CarpetReduce/src/reduce.cc b/Carpet/CarpetReduce/src/reduce.cc index 577fe2478..7e28a9ddc 100644 --- a/Carpet/CarpetReduce/src/reduce.cc +++ b/Carpet/CarpetReduce/src/reduce.cc @@ -250,10 +250,10 @@ namespace CarpetReduce { #ifdef HAVE_CCTK_REAL4 - template<> inline int myisnan (complex const x) - { - return isnan (x.real()) or isnan (x.imag()); - } + // template<> inline int myisnan (complex const x) + // { + // return isnan (x.real()) or isnan (x.imag()); + // } template<> inline complex mymin (const complex x, const complex y) @@ -299,10 +299,10 @@ namespace CarpetReduce { #ifdef HAVE_CCTK_REAL8 - template<> inline int myisnan (complex const x) - { - return isnan (x.real()) or isnan (x.imag()); - } + // template<> inline int myisnan (complex const x) + // { + // return isnan (x.real()) or isnan (x.imag()); + // } template<> inline complex mymin (const complex x, const complex y) @@ -348,10 +348,10 @@ namespace CarpetReduce { #ifdef HAVE_CCTK_REAL16 - template<> inline int myisnan (complex const x) - { - return isnan (x.real()) or isnan (x.imag()); - } + // template<> inline int myisnan (complex const x) + // { + // return isnan (x.real()) or isnan (x.imag()); + // } template<> inline complex mymin (const complex x, const complex y) -- cgit v1.2.3