summaryrefslogtreecommitdiff
path: root/numpy/lib/shape_base.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-09-23 17:59:06 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-09-23 17:59:06 +0000
commit6d9195dfd53fc827171f2de571c2d4049c36c610 (patch)
treec2c4c141e26f1b7963ea2249719f9c54399fa2ae /numpy/lib/shape_base.py
parent65f0d8a7ae024b595a019043945ca46028998c69 (diff)
downloadnumpy-6d9195dfd53fc827171f2de571c2d4049c36c610.tar.gz
Fix for #291
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r--numpy/lib/shape_base.py2
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)