diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-10-29 20:24:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 20:24:31 -0500 |
commit | d2476fff1b22d96f6690650af6e52fae663f7413 (patch) | |
tree | 527922fa071a9988abce6eff9996c2ebd1b9b138 /numpy | |
parent | 31cb02ad679b4ed6b0ba2a5851cab74b0f44c6ce (diff) | |
parent | d8b2a0a357eec63add3ce5cbf8f84aebcbb8a8ce (diff) | |
download | numpy-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.c | 2 |
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) { |