aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-04-26 19:04:03 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:41 +0000
commit579fafb785fd2b35591584cc65c62bbe44744448 (patch)
treee79cbd69d71ce566f82b5ceec025e1e6c370d2ca
parent0d35c68b3a565ec09cba0e4eb076eb10e84a0557 (diff)
CarpetReduce: Use nan handling from CarpetLib
-rw-r--r--Carpet/CarpetReduce/src/reduce.cc24
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)