[SciPy-user] in-place add for sparse.lil_eye
Nathan Bell
wnbell at gmail.com
Fri Aug 29 03:19:13 EDT 2008
On Thu, Aug 28, 2008 at 5:25 PM, Tony S Yu <tonyyu at mit.edu> 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.
Hi Tony,
Thanks for raising this issue as it had not been fixed yet. I've
committed some changes in r4678 [1] that should resolve the issue.
Please let us know of any other possible outstanding issues.
[1] http://projects.scipy.org/scipy/scipy/changeset/4678
--
Nathan Bell wnbell at gmail.com
http://graphics.cs.uiuc.edu/~wnbell/
More information about the SciPy-User
mailing list