From 0342b562bad57693756aad8c1057e4eb4a52e798 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Thu, 2 Feb 2012 01:39:27 -0600 Subject: MathematicaCompat.h: Cast to CCTK_REAL This might not be necessary --- .../Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Auxiliary/Cactus') diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h index 72a05f9..cd2f99f 100644 --- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h +++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h @@ -1,5 +1,5 @@ - -#define Power(x, y) (pow(x,y)) + +#define Power(x, y) (pow(x,(CCTK_REAL) y)) #define Sqrt(x) (sqrt(x)) -- cgit v1.2.3