aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-05-20 09:26:27 -0500
committerErik Schnetter <schnetter@gmail.com>2013-05-20 09:26:27 -0500
commitc515a4b4786c50b21ee4b943fe693ff3c2903652 (patch)
tree7c7ede862a4746f6fa9821cc4c961489d5289e32
parentc45a84b1397d49b0ce80af073a5815bf6bafc6b7 (diff)
CarpetLib: Correct isnorma() for complex numbers
-rw-r--r--Carpet/CarpetLib/src/defs.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh
index ff89ad668..2fbe4e836 100644
--- a/Carpet/CarpetLib/src/defs.hh
+++ b/Carpet/CarpetLib/src/defs.hh
@@ -238,7 +238,7 @@ inline const char * typestring (const CCTK_COMPLEX32&)
\
inline int good_isnormal(T const& x) \
{ \
- return isnormal(x.real()) or isnormal(x.imag()); \
+ return isnormal(x.real()) and isnormal(x.imag()); \
}
namespace std {