From 0aaac11ce7be7354a101d90d9c95dde6e562008d Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Fri, 13 Oct 2006 00:41:44 +0000 Subject: Add solvetensor and invtensor --- numpy/core/numeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') 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 -- cgit v1.2.1