[Scipy-tickets] [SciPy] #850: loadmat returns arrays of different shape than 0.6.0

SciPy scipy-tickets@scipy....
Sat Jan 17 21:48:20 CST 2009


#850: loadmat returns arrays of different shape than 0.6.0
-------------------------+--------------------------------------------------
 Reporter:  AndrewStraw  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  0.7.0   
Component:  scipy.io     |     Version:  devel   
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 I couldn't find this mentioned in the 0.7.0 release notes, so I'm afraid
 it might be an unintentional break from 0.6.0.

 Using the attached 'x.mat' file:

 {{{
 import scipy.io

 data=scipy.io.loadmat('x.mat')
 print data['kalman_obj_id'].shape
 }}}

 with 0.6.0 (0.6.0-8ubuntu1 from Ubuntu Hardy):

 {{{
 (20,)
 }}}

 Whereas with 0.7.0 (r5463 from svn 0.7.0 branch):

 {{{
 (1, 20)
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/850>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list