[SciPy-user] in-place add for sparse.lil_eye
Fri Aug 29 02:19:13 CDT 2008
On Thu, Aug 28, 2008 at 5:25 PM, Tony S Yu <firstname.lastname@example.org> wrote:
> I'm not sure if this is a closed bug or not, but in-place adding for
> sparse.lil_eye *sometimes* raises:
> AttributeError: 'numpy.ndarray' object has no attribute 'append'
> In the code below, the error doesn't occur unless the sparse matrix is
> multiplied by some number (`a` below) AND the added matrix (`A_offdiag`
> below) has entries off the main diagonal. Normal adding works fine.
> I noticed the 0.7.0 changes noted "numerous bug fixes" for the sparse
> module, so this problem may already be fixed (possibly with the closing
> of Ticket#680); I just wanted to bring it up in case it hadn't.
Thanks for raising this issue as it had not been fixed yet. I've
committed some changes in r4678  that should resolve the issue.
Please let us know of any other possible outstanding issues.
Nathan Bell email@example.com
More information about the SciPy-user