diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-21 14:06:49 -0800 |
---|---|---|
committer | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-21 14:06:49 -0800 |
commit | d03b685b227a41de8454ea37461b016f96a57eee (patch) | |
tree | b8313efda73fd6d2d00f2cb7ce01c0d1fa4ecf60 /numpy/core/src/scalarmathmodule.c.src | |
parent | a8ceecad783492f6546e06812ac6b93d84ea25a1 (diff) | |
download | numpy-d03b685b227a41de8454ea37461b016f96a57eee.tar.gz |
ENH: ufunc: Change object/reference handling code to treat NULL as Py_None more consistently
Diffstat (limited to 'numpy/core/src/scalarmathmodule.c.src')
-rw-r--r-- | numpy/core/src/scalarmathmodule.c.src | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/numpy/core/src/scalarmathmodule.c.src b/numpy/core/src/scalarmathmodule.c.src index d1a66e101..418e81531 100644 --- a/numpy/core/src/scalarmathmodule.c.src +++ b/numpy/core/src/scalarmathmodule.c.src @@ -704,10 +704,12 @@ static PyObject * PyObject *ret; npy_@name@ arg1, arg2; /* - * NOTE: In gcc >= 4.1, the compiler will reorder floating point operations and - * floating point error state checks. In particular, the arithmetic operations - * were being reordered so that the errors weren't caught. Declaring this output - * variable volatile was the minimal fix for the issue. (Ticket #1671) + * NOTE: In gcc >= 4.1, the compiler will reorder floating point + * operations and floating point error state checks. In + * particular, the arithmetic operations were being reordered + * so that the errors weren't caught. Declaring this output + * variable volatile was the minimal fix for the issue. + * (Ticket #1671) */ volatile npy_@otyp@ out; #if @twoout@ |