From f485ed866a3c9497828f07c874d7a29a22632232 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 19 Dec 2011 11:47:22 -0500 Subject: Generate pown(), which exists in OpenCL Also provide pown() if not generating OpenCL code. --- Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Auxiliary') diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h index 0be42d3..d768625 100644 --- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h +++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h @@ -1,4 +1,5 @@ #ifdef KRANC_C +# define pown(x,y) pow(x,y) # define IfThen(x,y,z) ((x) ? (y) : (z)) #else # define Abs(x) (abs(x)) -- cgit v1.2.3