Re: [Numpy-discussion] scipy.io.loadmat incompatible with Numpy 1.0.2

2007-04-09 Thread Ryan May
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

Re: [Numpy-discussion] scipy.io.loadmat incompatible with Numpy 1.0.2

2007-04-09 Thread Travis Oliphant
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. Ju

[Numpy-discussion] scipy.io.loadmat incompatible with Numpy 1.0.2

2007-04-09 Thread Ryan May
Hi, As far as I can tell, the new Numpy 1.0.2 broke scipy.io.loadmat. Here's what I get when I try to open a file with using loadmat with numpy 1.0.2 (on gentoo AMD64): In [2]: loadmat('tep_iqdata.mat') --- exceptions.Attri