diff options
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r-- | numpy/lib/shape_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index a5dd21dce..aae57f984 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -4,7 +4,7 @@ __all__ = ['atleast_1d','atleast_2d','atleast_3d','vstack','hstack', 'apply_along_axis', 'repmat', 'kron'] import numpy.core.numeric as _nx -from numpy.core.numeric import asarray, zeros, newaxis, outerproduct, \ +from numpy.core.numeric import asarray, zeros, newaxis, outer, \ concatenate, isscalar, array, asanyarray from numpy.core.oldnumeric import product, reshape @@ -576,7 +576,7 @@ def kron(a,b): a = reshape(a, a.shape) if not b.flags.contiguous: b = reshape(b, b.shape) - o = outerproduct(a,b) + o = outer(a,b) o=o.reshape(a.shape + b.shape) result = concatenate(concatenate(o, axis=1), axis=1) if wrapper is not None: |