diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-09 15:40:45 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-15 11:42:02 -0700 |
commit | 9a8dac017504fbcedb3e0dbd30804bd5522f6783 (patch) | |
tree | 6e605e48c4ab5a45c78ad964bb1b93b32d95bd55 /numpy/core/src | |
parent | 4853f1c76982f28f5a35e7fd34528bae790558ee (diff) | |
download | numpy-9a8dac017504fbcedb3e0dbd30804bd5522f6783.tar.gz |
REV: Revert some minor style changes that smuggled their way in
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/multiarray/convert_datatype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/multiarray/convert_datatype.c b/numpy/core/src/multiarray/convert_datatype.c index be136ab59..c578a1b44 100644 --- a/numpy/core/src/multiarray/convert_datatype.c +++ b/numpy/core/src/multiarray/convert_datatype.c @@ -783,7 +783,7 @@ static int min_scalar_type_num(char *valueptr, int type_num, */ NPY_NO_EXPORT npy_bool can_cast_scalar_to(PyArray_Descr *scal_type, char *scal_data, - PyArray_Descr *to, NPY_CASTING casting) + PyArray_Descr *to, NPY_CASTING casting) { /* * If the two dtypes are actually references to the same object @@ -826,7 +826,7 @@ can_cast_scalar_to(PyArray_Descr *scal_type, char *scal_data, scal_type->f->copyswap(&value, scal_data, swap, NULL); type_num = min_scalar_type_num((char *)&value, scal_type->type_num, - &is_small_unsigned); + &is_small_unsigned); /* * If we've got a small unsigned scalar, and the 'to' type |