Skip to content
Snippets Groups Projects
Commit a4299ab8 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Better phrasing for warning in pyopencl-complex.h.

parent 3665201f
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,9 @@
// functions as visible below, e.g. cdouble_log(z).
//
// Under the hood, the complex types are simply float2 and double2.
// Note that native (operator-based) addition (float + float2) and
// multiplication (float2*float1) is defined for these types,
// but do not match the rules of complex arithmetic.
#define PYOPENCL_DECLARE_COMPLEX_TYPE_INT(REAL_TP, REAL_3LTR, TPROOT, TP) \
\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment