summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2019-01-15 07:44:25 +0100
committerMatti Picus <matti.picus@gmail.com>2019-01-15 08:44:25 +0200
commit9d8ca1ddc0f8893f799f40bc6e25c57a42bbcb8a (patch)
treef82537ac2c73c511685a566f1cb679432cd8a89c /numpy/core/numeric.py
parent4e532b858e5ccdcbc32051df18e9b8467d755bc0 (diff)
downloadnumpy-9d8ca1ddc0f8893f799f40bc6e25c57a42bbcb8a.tar.gz
MAINT: More cleanup of einsum (#11230)
* MAINT: Move call to get_single_op_view out of loop. * MAINT: Refactor get_combined_dims_view. Moves check for repeated labels in operands out of the main einsum loop and into get_combined_dims_view. The code there is slightly simplified. Also, fixes #11221 by only rewriting the labels array once all labels have been processed. * MAINT: Make _no_labels_are_negative parameter signed char. * MAINT: address review comments. * MAINT: Fix small bug after rebasing. The view was being created with the same number of dimensions as the original operand, instead of the number of unique labels.
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions