diff options
author | Sayed Adel <seiko@imavr.com> | 2022-12-22 05:01:51 +0200 |
---|---|---|
committer | Sayed Adel <seiko@imavr.com> | 2022-12-22 05:01:51 +0200 |
commit | 1a0ea79eae7da0dad90051bd3c5d7a8097b427f2 (patch) | |
tree | 22a4577cf6eb917b15591b50edb892c1ea3340b4 | |
parent | 2862a1c63244809993ddb415c4f858ff699ba9c5 (diff) | |
download | numpy-1a0ea79eae7da0dad90051bd3c5d7a8097b427f2.tar.gz |
MAINT: Remove unused umath macros IS_BLOCKABLE_BINARY_BOOL*
-rw-r--r-- | numpy/core/src/umath/fast_loop_macros.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/numpy/core/src/umath/fast_loop_macros.h b/numpy/core/src/umath/fast_loop_macros.h index 5274957f7..cade26db4 100644 --- a/numpy/core/src/umath/fast_loop_macros.h +++ b/numpy/core/src/umath/fast_loop_macros.h @@ -378,19 +378,6 @@ abs_ptrdiff(char *a, char *b) #undef abs_ptrdiff -#define IS_BLOCKABLE_BINARY_BOOL(esize, vsize) \ - (steps[0] == (esize) && steps[0] == steps[1] && steps[2] == (1) && \ - npy_is_aligned(args[1], (esize)) && \ - npy_is_aligned(args[0], (esize))) - -#define IS_BLOCKABLE_BINARY_SCALAR1_BOOL(esize, vsize) \ - (steps[0] == 0 && steps[1] == (esize) && steps[2] == (1) && \ - npy_is_aligned(args[1], (esize))) - -#define IS_BLOCKABLE_BINARY_SCALAR2_BOOL(esize, vsize) \ - (steps[0] == (esize) && steps[1] == 0 && steps[2] == (1) && \ - npy_is_aligned(args[0], (esize))) - /* align var to alignment */ #define LOOP_BLOCK_ALIGN_VAR(var, type, alignment)\ npy_intp i, peel = npy_aligned_block_offset(var, sizeof(type),\ |