summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_utils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-01-16 16:23:17 -0700
committerCharles Harris <charlesr.harris@gmail.com>2018-01-20 16:21:41 -0700
commitc1ffb3cfa07c0e7b27e6a2c278c97d8f1c8b6206 (patch)
treeec7901c59d4cd404933cdf58a599f47a1392a94b /numpy/lib/tests/test_utils.py
parenta6ee59abd47085dbcf0e4ac90cfbfa3eb0f068ba (diff)
downloadnumpy-c1ffb3cfa07c0e7b27e6a2c278c97d8f1c8b6206.tar.gz
MAINT: Fix sign-compare warnings in npy_binsearch, npy_partition.
The gcc compiler treats enums as unsigned unless one of the enumerated values is negative. The values are small, so we can fix that by casting to int. The same can be done with the results of the sizeof function if we know ahead of time that the result is small.
Diffstat (limited to 'numpy/lib/tests/test_utils.py')
0 files changed, 0 insertions, 0 deletions