diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-09-23 17:59:06 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-09-23 17:59:06 +0000 |
commit | 6d9195dfd53fc827171f2de571c2d4049c36c610 (patch) | |
tree | c2c4c141e26f1b7963ea2249719f9c54399fa2ae /numpy/lib/shape_base.py | |
parent | 65f0d8a7ae024b595a019043945ca46028998c69 (diff) | |
download | numpy-6d9195dfd53fc827171f2de571c2d4049c36c610.tar.gz |
Fix for #291
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 42fbc6e99..55e91e381 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -530,7 +530,7 @@ def dsplit(ary,indices_or_sections): def repmat(a, m, n): """Repeat a 0-d to 2-d array mxn times """ - a = asarray(a) + a = asanyarray(a) ndim = a.ndim if ndim == 0: origrows, origcols = (1,1) |