summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-10-13 00:41:44 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-10-13 00:41:44 +0000
commit0aaac11ce7be7354a101d90d9c95dde6e562008d (patch)
treed6930161eaa1eb81564b2997cd76859161c7c874 /numpy/core/numeric.py
parentf2d36cc4c0684e1eca90aaaa69812404ce742873 (diff)
downloadnumpy-0aaac11ce7be7354a101d90d9c95dde6e562008d.tar.gz
Add solvetensor and invtensor
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 02b931f90..ee17e1886 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -252,7 +252,7 @@ except ImportError:
pass
-def tensordot(a, b, axes=(-1,0)):
+def tensordot(a, b, axes=[-1,0]):
"""tensordot returns the product for any (ndim >= 1) arrays.
r_{xxx, yyy} = \sum_k a_{xxx,k} b_{k,yyy} where