[Numpy-tickets] [NumPy] #291: repmat doesn't preserve matrix subclass
NumPy
numpy-tickets at scipy.net
Sat Sep 23 11:08:17 CDT 2006
#291: repmat doesn't preserve matrix subclass
-----------------------+----------------------------------------------------
Reporter: baxissimo | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: numpy.lib | Version:
Severity: normal | Keywords:
-----------------------+----------------------------------------------------
Subject says it all.
{{{
>>> repmat(matrix([[1,2,3]]), 2,2)
array([[...]])
}}}
I think the 'asarray' in the first line just needs to be changed to
'asanyarray'.
Version is 1.0rc1.
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/291>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list