Permalink
Browse files

added '_rmul' to pyopencl-complex.h

  • Loading branch information...
1 parent 03c3162 commit 1c32893111dec29159811a629f7e5b4a02260fd9 @EyNuel committed Apr 19, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/cl/pyopencl-complex.h
@@ -59,6 +59,11 @@
return a*b; \
} \
\
+ TP TPROOT##_rmul(REAL_TP a, TP b) \
+ { \
+ return a*b; \
+ } \
+ \
TP TPROOT##_rdivide(REAL_TP z1, TP z2) \
{ \
if (fabs(z2.x) <= fabs(z2.y)) { \

0 comments on commit 1c32893

Please sign in to comment.