[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pkg-octave-devel] Bug#394982: octave2.9: Crashes on "x(:,

From: Rafael Laboissiere
Subject: Re: [Pkg-octave-devel] Bug#394982: octave2.9: Crashes on "x(:,
Date: Wed, 25 Oct 2006 14:35:15 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

package octave2.9
reopen 394982

* Kim Hansen <address@hidden> [2006-10-25 13:20]:

> On 10/25/06, David Bateman <address@hidden> wrote:
> >Ok, Please consider the attached patch. Note that this implies a double
> >reassignment of the lhs, but really this is a crazy thing to do, so as
> >long as it doesn't crash and gives the right result I don't feel it has
> >to be efficient. If it was really an important case, then there should
> >be special cases for this. With this patch I get the following results.
> My goal is to build a large sparse matrix out of an unknown number of
> smaller matrices, that is why I would like it to readjust its size as
> I am assigning to it. Your fix works on the first assignment, but
> octave crashes on the second.
> x = sparse(2,0)
> x(:,1:2) = speye(2)  # crashed here before fix
> x(:,3:4) = speye(2)  # now it crashes here.

I confirm the problem in octave2.9_2.9.9-4.  I am hereby reopening the bug


reply via email to

[Prev in Thread] Current Thread [Next in Thread]