diff options
author | Pauli Virtanen <pav@iki.fi> | 2020-08-20 20:56:18 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2020-08-21 22:49:17 +0300 |
commit | 9cebb29964a3f8767b433d26aee85d969c85ede6 (patch) | |
tree | 2b3bd39f3cfa9b11a968b60cd26d08da25b940dd /numpy/lib/arraysetops.py | |
parent | 4cba2d91e1546872d29af6b25ad35947f27e03ac (diff) | |
download | numpy-9cebb29964a3f8767b433d26aee85d969c85ede6.tar.gz |
BUG: core: fix ilp64 blas dot/vdot/... for strides > int32 max
Fix overlooked int cast when HAVE_BLAS_ILP64 is defined.
It was supposed to cast to CBLAS_INT, not int.
Also add a regression test.
Move blas_stride() to npy_cblas.h
Replace npy_is_aligned by modulo; we're going to call BLAS so no need to
micro-optimize integer division here.
Diffstat (limited to 'numpy/lib/arraysetops.py')
0 files changed, 0 insertions, 0 deletions