diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-06-02 17:38:54 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-06-02 17:38:54 +0000 |
commit | ebc3848e61739bea11645168bd4725b5760fa741 (patch) | |
tree | b586a3035ad3cdd90cdacfe472d019e46b6d1801 /numpy/lib/shape_base.py | |
parent | ce9414d3007101af1c18d674bd162cdef48c564d (diff) | |
download | numpy-ebc3848e61739bea11645168bd4725b5760fa741.tar.gz |
Remove deprecated names from ma and tests.
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: |