diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-10-10 08:52:18 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-10 08:52:18 +0000 |
commit | 0330812bca3a97a2b808964e32d5ae81b466441c (patch) | |
tree | 69b49159d4579e09396e4186275e3097749c371a /numpy/lib/shape_base.py | |
parent | a307a7f160a2f8fc4173d6bbcff48b465c0758e3 (diff) | |
download | numpy-0330812bca3a97a2b808964e32d5ae81b466441c.tar.gz |
Fix segfault in .imag for real array scalars. Be specific about infix multiplication.
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r-- | numpy/lib/shape_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index ed84e9f5d..c6dc7b5c9 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -552,7 +552,7 @@ def kron(a,b): a = array(a,copy=False,subok=True,ndmin=b.ndim) ndb, nda = b.ndim, a.ndim if (nda == 0 or ndb == 0): - return a * b + return _nx.multiply(a,b) as = a.shape bs = b.shape if not a.flags.contiguous: |