summaryrefslogtreecommitdiff
path: root/numpy/core/src/scalarmathmodule.c.src
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-01-21 14:06:49 -0800
committerMark Wiebe <mwwiebe@gmail.com>2011-01-21 14:06:49 -0800
commitd03b685b227a41de8454ea37461b016f96a57eee (patch)
treeb8313efda73fd6d2d00f2cb7ce01c0d1fa4ecf60 /numpy/core/src/scalarmathmodule.c.src
parenta8ceecad783492f6546e06812ac6b93d84ea25a1 (diff)
downloadnumpy-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.src10
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@