diff options
author | mattip <matti.picus@gmail.com> | 2023-05-11 00:21:51 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2023-05-11 00:22:09 +0300 |
commit | 5e983f22c3d554377b0541ff46507001123addca (patch) | |
tree | c47ad7bf712c0dcffc7adb6e3a4947da84465907 /numpy/core/src | |
parent | 670842b38005febf64259f268332e46d86233ef0 (diff) | |
download | numpy-5e983f22c3d554377b0541ff46507001123addca.tar.gz |
BUG: typo, linting
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/multiarray/scalartypes.c.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/scalartypes.c.src b/numpy/core/src/multiarray/scalartypes.c.src index dee9d43c5..ff30737b5 100644 --- a/numpy/core/src/multiarray/scalartypes.c.src +++ b/numpy/core/src/multiarray/scalartypes.c.src @@ -298,7 +298,7 @@ genint_type_str(PyObject *self) item = PyLong_FromLong(*(int32_t *)val); break; case NPY_UINT: - item = PyLong_FromUnsignedLong(*(int32_t *)val); + item = PyLong_FromUnsignedLong(*(uint32_t *)val); break; case NPY_LONG: item = PyLong_FromLong(*(int64_t *)val); |