Most likely the error-detection code is not working on your platform. The platform dependent stuff is not that difficult. I tried to implement something for AIX, but very likely got it wrong (and don't have a platform to test it on). It is the UFUNC_CHECK_STATUS that must be implemented. Perhaps, we can do a simple check and disable the error modes:
I looked at the UFUNC_CHECK_STATUS implementation for AIX and put in some print statements. The the fpstatus returned to fp_read_flag is always indicating an FP_INVALID so UFUNC_CHECK_STATUS return 8. But the code looks fine to me. It seems a little odd that it would always indicate this flag. Where else can I look to try to see what it goiing on? Do you think this is worth worrying about, or should we just have use seterr(all='ignore')? I am willing to try to hunt this down, but I don't know much about the internals of numpy. Thanks Brian
seterr(all='ignore')
will work and "turn-off" error-detection on your platform.
-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
------------------------------------------------------------------------- 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