summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorJaime Fernandez <jaime.frio@gmail.com>2015-05-17 06:37:16 -0700
committerJaime Fernandez <jaime.frio@gmail.com>2015-05-17 06:37:16 -0700
commit581927a4fcbc7d7c54b7b37e6edc121669863ea5 (patch)
treeca3f0ddaf9bb359cc64f6633dab55b397e698fb3 /numpy/lib/utils.py
parent0a02b82ed72f0268875bfc6c70d1e8a8dad6c644 (diff)
downloadnumpy-581927a4fcbc7d7c54b7b37e6edc121669863ea5.tar.gz
BUG: Handling of axisc in np.cross
Fixes #5885 by ignoring `axisc` when both input vectors are 2D. Also adds explicit checks for `axis?` parameters in bounds, to provide more informative errors. Also slightly simplified the calculation logic and documented the assumptions in each branch with `assert`s.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions