diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-01-16 16:23:17 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2018-01-20 16:21:41 -0700 |
commit | c1ffb3cfa07c0e7b27e6a2c278c97d8f1c8b6206 (patch) | |
tree | ec7901c59d4cd404933cdf58a599f47a1392a94b /numpy/lib/arraysetops.py | |
parent | a6ee59abd47085dbcf0e4ac90cfbfa3eb0f068ba (diff) | |
download | numpy-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/arraysetops.py')
0 files changed, 0 insertions, 0 deletions