On 10/18/06, Christopher Hanley <[EMAIL PROTECTED]> wrote: > I can't decide if the following is a bug or feature. Numpy scalars are > allowed to overflow silently while numarray upcasts to a larger python > type. I guess my biggest problem is that the overflow occurs silently.
I had that problem yesterday, which was difficult to diagnose for a new user like me. Here's an example: >> x = zeros((300, 300)) >> x = x > 1 # False >> x = 1 - x # ones >> y = x.T * x >> y[0,0] 44 ------------------------------------------------------------------------- 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