diff options
| author | mattip <matti.picus@gmail.com> | 2019-12-16 22:19:55 +0200 |
|---|---|---|
| committer | mattip <matti.picus@gmail.com> | 2019-12-16 22:19:55 +0200 |
| commit | 28848d79f665ec2dd83e84de14542a6e0ed645a5 (patch) | |
| tree | cebe025c67845055c87de07d16d4be20a571d870 /numpy | |
| parent | 66bfedd28d5a24d1febe97bbd43d824f865349ea (diff) | |
| download | numpy-28848d79f665ec2dd83e84de14542a6e0ed645a5.tar.gz | |
BLD: fix signed-unsigned comparison warning
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/src/umath/simd.inc.src | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/src/umath/simd.inc.src b/numpy/core/src/umath/simd.inc.src index 74f52cc9d..1f29526be 100644 --- a/numpy/core/src/umath/simd.inc.src +++ b/numpy/core/src/umath/simd.inc.src @@ -280,11 +280,11 @@ run_binary_simd_@kind@_@TYPE@(char **args, npy_intp *dimensions, npy_intp *steps @type@ * op = (@type@ *)args[2]; npy_intp n = dimensions[0]; #if defined __AVX512F__ - const npy_intp vector_size_bytes = 64; + const npy_uintp vector_size_bytes = 64; #elif defined __AVX2__ - const npy_intp vector_size_bytes = 32; + const npy_uintp vector_size_bytes = 32; #else - const npy_intp vector_size_bytes = 32; + const npy_uintp vector_size_bytes = 32; #endif /* argument one scalar */ if (IS_BLOCKABLE_BINARY_SCALAR1(sizeof(@type@), vector_size_bytes)) { |
