[Scipy-tickets] [SciPy] #249: io.mio.loadmat support for 64 bit

SciPy scipy-tickets at scipy.net
Mon Aug 14 11:34:34 CDT 2006


#249: io.mio.loadmat support for 64 bit
--------------------------+-------------------------------------------------
 Reporter:  MatthewBrett  |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:          
Component:  Other         |     Version:          
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------
 On 64 bit platforms the unit tests fail for scipy.io.loadmat.  This is
 because the matlab int32 data type is being translated to the 'l' (long)
 datatype in numpy, which is 8 bytes on 64-bit and 4 bytes on 32-bit.  The
 fix is to translate int32 to 'u4' datatype througout.  This fix passes all
 unit tests on 32 bit and 64 bit platforms.

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


More information about the Scipy-tickets mailing list