aboutsummaryrefslogtreecommitdiff
path: root/Auxiliary
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2011-12-19 11:47:22 -0500
committerErik Schnetter <schnetter@gmail.com>2011-12-19 11:47:22 -0500
commitf485ed866a3c9497828f07c874d7a29a22632232 (patch)
treeb0d7abad36ac069cd239c2b8790115efe1534932 /Auxiliary
parent0a36b4fafc1293d056e1e1cdc759f5abb8da90ba (diff)
Generate pown(), which exists in OpenCL
Also provide pown() if not generating OpenCL code.
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h1
1 files changed, 1 insertions, 0 deletions
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))