diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-09-25 22:06:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-09-25 22:06:00 +0000 |
commit | 525dc735ec2d498e2eea30c8247d9e3649053c3e (patch) | |
tree | 95ac16a25aec02bed6a45d850b3692a6295fa96d /Carpet/CarpetReduce | |
parent | a4b74b40375d6eb64c3be2cda8339ee15fe85d49 (diff) |
CarpetReduce: Use HAVE_CCTK_REAL* instead of CCTK_REAL*
Use the macros HAVE_CCTK_REAL* instead of checking whether the macros
CCTK_REAL* are defined.
darcs-hash:20060925220641-dae7b-008b16676bf9b39fd14d718ddeadb009709b6096.gz
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r-- | Carpet/CarpetReduce/src/reduce.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/CarpetReduce/src/reduce.cc b/Carpet/CarpetReduce/src/reduce.cc index db00fddc8..9e83349ac 100644 --- a/Carpet/CarpetReduce/src/reduce.cc +++ b/Carpet/CarpetReduce/src/reduce.cc @@ -127,7 +127,7 @@ namespace CarpetReduce { // Overload the above helper functions and types for complex values -#ifdef CCTK_REAL4 +#ifdef HAVE_CCTK_REAL4 template<> inline complex<CCTK_REAL4> mymin (const complex<CCTK_REAL4> x, const complex<CCTK_REAL4> y) @@ -165,7 +165,7 @@ namespace CarpetReduce { #endif -#ifdef CCTK_REAL8 +#ifdef HAVE_CCTK_REAL8 template<> inline complex<CCTK_REAL8> mymin (const complex<CCTK_REAL8> x, const complex<CCTK_REAL8> y) @@ -203,7 +203,7 @@ namespace CarpetReduce { #endif -#ifdef CCTK_REAL16 +#ifdef HAVE_CCTK_REAL16 template<> inline complex<CCTK_REAL16> mymin (const complex<CCTK_REAL16> x, const complex<CCTK_REAL16> y) |