diff options
Diffstat (limited to 'src/ReductionNormInf.c')
-rw-r--r-- | src/ReductionNormInf.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ReductionNormInf.c b/src/ReductionNormInf.c index 6b484d3..cb312df 100644 --- a/src/ReductionNormInf.c +++ b/src/ReductionNormInf.c @@ -264,7 +264,7 @@ static int ReductionNormInf (const cGH *GH, CCTK_INT, outvals, num_outvals, total_outvals); break; -#ifdef CCTK_INT1 +#ifdef HAVE_CCTK_INT1 case CCTK_VARIABLE_INT1: ITERATE_ARRAY (CCTK_INT1, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -272,7 +272,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_INT2 +#ifdef HAVE_CCTK_INT2 case CCTK_VARIABLE_INT2: ITERATE_ARRAY (CCTK_INT2, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -280,7 +280,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_INT4 +#ifdef HAVE_CCTK_INT4 case CCTK_VARIABLE_INT4: ITERATE_ARRAY (CCTK_INT4, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -288,7 +288,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_INT8 +#ifdef HAVE_CCTK_INT8 case CCTK_VARIABLE_INT8: ITERATE_ARRAY (CCTK_INT8, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -302,7 +302,7 @@ static int ReductionNormInf (const cGH *GH, CCTK_REAL, outvals, num_outvals, total_outvals); break; -#ifdef CCTK_REAL4 +#ifdef HAVE_CCTK_REAL4 case CCTK_VARIABLE_REAL4: ITERATE_ARRAY (CCTK_REAL4, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -310,7 +310,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_REAL8 +#ifdef HAVE_CCTK_REAL8 case CCTK_VARIABLE_REAL8: ITERATE_ARRAY (CCTK_REAL8, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -318,7 +318,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_REAL16 +#ifdef HAVE_CCTK_REAL16 case CCTK_VARIABLE_REAL16: ITERATE_ARRAY (CCTK_REAL16, num_dims, inarrays[i], from, to, iterator, points_per_dim, @@ -334,7 +334,7 @@ static int ReductionNormInf (const cGH *GH, CCTK_REAL, outvals, num_outvals, total_outvals); break; -#ifdef CCTK_REAL4 +#ifdef HAVE_CCTK_REAL4 #undef REDUCTION_OPERATION #define REDUCTION_OPERATION(norm_inf, scalar) norm_inf = MAX(norm_inf, CCTK_Cmplx8Abs(scalar)) ITERATE_ARRAY (CCTK_COMPLEX8, num_dims, inarrays[i], @@ -343,7 +343,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_REAL8 +#ifdef HAVE_CCTK_REAL8 #undef REDUCTION_OPERATION #define REDUCTION_OPERATION(norm_inf, scalar) norm_inf = MAX(norm_inf, CCTK_Cmplx16Abs(scalar)) ITERATE_ARRAY (CCTK_COMPLEX16, num_dims, inarrays[i], @@ -352,7 +352,7 @@ static int ReductionNormInf (const cGH *GH, break; #endif -#ifdef CCTK_REAL16 +#ifdef HAVE_CCTK_REAL16 #undef REDUCTION_OPERATION #define REDUCTION_OPERATION(norm_inf, scalar) norm_inf = MAX(norm_inf, CCTK_Cmplx32Abs(scalar)) ITERATE_ARRAY (CCTK_COMPLEX32, num_dims, inarrays[i], |