Fernando Perez wrote:
> Hi all,
>
> I updated earlier today (about 4 hours ago) numpy/scipy SVN, and all
> of a sudden my codes broke left and right.  Backing off to
>
>   
Hey Fernando.   I think I found the problem.   It was the same problem 
causing the BFGS test to fail in SciPy.

It can be shown by looking at

sk = [0,-1.0,1.0]
print 250.0*sk[:,newaxis]

This should give something useful (not zeros). 

The problem was a seemingly harmless change in _IsContiguous that 
allowed for 0-strided arrays to be called contiguous.  This caused havoc 
with the multiplication function later which relied on an accurate 
_IsContiguous function. 

This change was in r2765 (I suspect you checked out a change with that 
in it).  The change could cause problems where-ever you use newaxis with 
scalar multiplication.

The problem should be fixed in SVN.

Very sorry...

-Travis


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to