[Numpy-svn] r3211 - trunk/numpy/lib

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Sep 23 13:59:21 EDT 2006


Author: oliphant
Date: 2006-09-23 12:59:06 -0500 (Sat, 23 Sep 2006)
New Revision: 3211

Modified:
   trunk/numpy/lib/shape_base.py
Log:
Fix for #291

Modified: trunk/numpy/lib/shape_base.py
===================================================================
--- trunk/numpy/lib/shape_base.py	2006-09-23 04:45:08 UTC (rev 3210)
+++ trunk/numpy/lib/shape_base.py	2006-09-23 17:59:06 UTC (rev 3211)
@@ -530,7 +530,7 @@
 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)




More information about the Numpy-svn mailing list