diff options
author | Erik Schnetter <schnetter@gmail.com> | 2011-12-19 11:47:22 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2011-12-19 11:47:22 -0500 |
commit | f485ed866a3c9497828f07c874d7a29a22632232 (patch) | |
tree | b0d7abad36ac069cd239c2b8790115efe1534932 /Auxiliary | |
parent | 0a36b4fafc1293d056e1e1cdc759f5abb8da90ba (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.h | 1 |
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)) |