[SciPy-dev] Sparse matvec inconsistency

Nathan Bell wnbell at gmail.com
Mon Oct 15 15:31:32 EDT 2007


On 10/11/07, Nathan Bell <wnbell at gmail.com> wrote:
> On 10/9/07, Bart Vandereycken <bart.vandereycken at cs.kuleuven.be> wrote:
> > Hi all,
> >
> > the matvec (A*x) routine of sparse shows an inconsistency: the shape of
> > the returned vector is not the same as the vector x when shape==(n,1). A
> > simple change in the _matvec routines in sparse.py should do the trick...
> >
> > BTW I would have posted a ticket for this, but I lost my password for my
> > account... Maybe someone can make a lost password link on the trac?
>
> I don't have time to look at this right now, but I submitted a bug report:
> http://scipy.org/scipy/scipy/ticket/514

This problem should be fixed in r3436
http://scipy.org/scipy/scipy/changeset/3436

I've also added some dimension checking to the sparse matrix matvec().
 There was some confusion about why the previous checks were disabled,
so let me know if the current ones need to be relaxed.


-- 
Nathan Bell wnbell at gmail.com



More information about the SciPy-Dev mailing list