diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-04-26 19:04:03 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-04-26 19:04:03 -0500 |
commit | d1f7d25ea510dd26a26b83eab1634705756e995e (patch) | |
tree | 7d3e6699943fb208f50ae33e0c9a77f02fd58222 /Carpet/CarpetReduce | |
parent | 39a733b00ef1a5fbb41f91f6e2cc10d3d4fc065b (diff) |
CarpetReduce: Use nan handling from CarpetLib
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r-- | Carpet/CarpetReduce/src/reduce.cc | 24 |
1 files changed, 12 insertions, 12 deletions
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<CCTK_REAL4> const x) - { - return isnan (x.real()) or isnan (x.imag()); - } + // template<> inline int myisnan (complex<CCTK_REAL4> const x) + // { + // return isnan (x.real()) or isnan (x.imag()); + // } template<> inline complex<CCTK_REAL4> mymin (const complex<CCTK_REAL4> x, const complex<CCTK_REAL4> y) @@ -299,10 +299,10 @@ namespace CarpetReduce { #ifdef HAVE_CCTK_REAL8 - template<> inline int myisnan (complex<CCTK_REAL8> const x) - { - return isnan (x.real()) or isnan (x.imag()); - } + // template<> inline int myisnan (complex<CCTK_REAL8> const x) + // { + // return isnan (x.real()) or isnan (x.imag()); + // } template<> inline complex<CCTK_REAL8> mymin (const complex<CCTK_REAL8> x, const complex<CCTK_REAL8> y) @@ -348,10 +348,10 @@ namespace CarpetReduce { #ifdef HAVE_CCTK_REAL16 - template<> inline int myisnan (complex<CCTK_REAL16> const x) - { - return isnan (x.real()) or isnan (x.imag()); - } + // template<> inline int myisnan (complex<CCTK_REAL16> const x) + // { + // return isnan (x.real()) or isnan (x.imag()); + // } template<> inline complex<CCTK_REAL16> mymin (const complex<CCTK_REAL16> x, const complex<CCTK_REAL16> y) |