From 1c32893111dec29159811a629f7e5b4a02260fd9 Mon Sep 17 00:00:00 2001 From: Emanuel Ey Date: Thu, 19 Apr 2012 15:19:42 +0100 Subject: [PATCH] added '_rmul' to pyopencl-complex.h --- src/cl/pyopencl-complex.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cl/pyopencl-complex.h b/src/cl/pyopencl-complex.h index e6f07977..005ffab3 100644 --- a/src/cl/pyopencl-complex.h +++ b/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)) { \ -- GitLab