summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarray/abstractdtypes.h2
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);