diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-09 16:10:40 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-15 11:42:02 -0700 |
commit | 5f8f18c7931054d7258e38d35b0f765208ef3014 (patch) | |
tree | ea66ddd9848b5b396ad251990945aa3c3ece971f /numpy/core/src | |
parent | 9a8dac017504fbcedb3e0dbd30804bd5522f6783 (diff) | |
download | numpy-5f8f18c7931054d7258e38d35b0f765208ef3014.tar.gz |
STY: Minor tweaks/rewording
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/multiarray/abstractdtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/abstractdtypes.h b/numpy/core/src/multiarray/abstractdtypes.h index b3f547b64..6901ec213 100644 --- a/numpy/core/src/multiarray/abstractdtypes.h +++ b/numpy/core/src/multiarray/abstractdtypes.h @@ -41,7 +41,7 @@ npy_mark_tmp_array_if_pyscalar( * Further, `np.float64` is a double subclass, so must reject it. */ if (PyLong_Check(obj) - && (PyArray_ISINTEGER(arr) || PyArray_ISOBJECT(arr))) { + && (PyArray_ISINTEGER(arr) || PyArray_ISOBJECT(arr))) { ((PyArrayObject_fields *)arr)->flags |= NPY_ARRAY_WAS_PYTHON_INT; if (dtype != NULL) { Py_INCREF(&PyArray_PyIntAbstractDType); |