summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-10-29 20:24:31 -0500
committerGitHub <noreply@github.com>2018-10-29 20:24:31 -0500
commitd2476fff1b22d96f6690650af6e52fae663f7413 (patch)
tree527922fa071a9988abce6eff9996c2ebd1b9b138 /numpy
parent31cb02ad679b4ed6b0ba2a5851cab74b0f44c6ce (diff)
parentd8b2a0a357eec63add3ce5cbf8f84aebcbb8a8ce (diff)
downloadnumpy-d2476fff1b22d96f6690650af6e52fae663f7413.tar.gz
Merge pull request #12291 from tylerjereddy/ufunc_bracket_fix
MAINT: _set_out_array() syntax fix
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/ufunc_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c
index b82c74109..8fb731fb7 100644
--- a/numpy/core/src/umath/ufunc_object.c
+++ b/numpy/core/src/umath/ufunc_object.c
@@ -747,7 +747,7 @@ _set_out_array(PyObject *obj, PyArrayObject **store)
/* Translate None to NULL */
return 0;
}
- if PyArray_Check(obj) {
+ if (PyArray_Check(obj)) {
/* If it's an array, store it */
if (PyArray_FailUnlessWriteable((PyArrayObject *)obj,
"output array") < 0) {