Re: [Numpy-discussion] reporting scipy.sparse bug

2007-05-02 Thread Stefan van der Walt
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

[Numpy-discussion] reporting scipy.sparse bug

2007-05-01 Thread koara
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