[Numpy-discussion] scipy.io.loadmat incompatible with Numpy 1.0.2
Ryan May
rmay at ou.edu
Mon Apr 9 13:12:35 EDT 2007
Travis Oliphant wrote:
> Ryan May wrote:
>
>> Hi,
>>
>> As far as I can tell, the new Numpy 1.0.2 broke scipy.io.loadmat.
>>
>>
> Yes, it was the one place that scipy used the fact that field selection
> of a 0-d array returned a scalar. This has been changed in NumPy 1.0.2
> to return a 0-d array.
>
> The fix is in SciPy SVN. Just get the mio.py file from SVN and drop it
> in to your distribution and things should work fine. Or wait until a
> SciPy release is made.
>
> -Travis
>
It worked if I also got the new mio5.py (rev. 2893).
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
More information about the NumPy-Discussion
mailing list