On Tue, May 01, 2007 at 05:36:19PM -0700, koara wrote: > scipy 0.5.2, in scipy.sparse.lil_matrix.__mul__: the optimization for > when multiplying by zero scalar is flawed. A copy of the original > matrix is returned, rather than the correct zero matrix. Nasty bug > because it only manifests itself with special input (zero scalar), > took me some time to nail my unexpected program output down to this > :(
You're right -- that *is* nasty! Fixed in r2951. Thanks for the report! http://projects.scipy.org/scipy/scipy/changeset/2951 Cheers Stéfan _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
