From 525dc735ec2d498e2eea30c8247d9e3649053c3e Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 25 Sep 2006 22:06:00 +0000 Subject: 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 --- Carpet/CarpetReduce/src/reduce.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Carpet') 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 mymin (const complex x, const complex y) @@ -165,7 +165,7 @@ namespace CarpetReduce { #endif -#ifdef CCTK_REAL8 +#ifdef HAVE_CCTK_REAL8 template<> inline complex mymin (const complex x, const complex y) @@ -203,7 +203,7 @@ namespace CarpetReduce { #endif -#ifdef CCTK_REAL16 +#ifdef HAVE_CCTK_REAL16 template<> inline complex mymin (const complex x, const complex y) -- cgit v1.2.3