[Pkg-octave-devel] Bug#457541: Bug#457541: octave2.9: multiple assignment to a struct array

Rafael Laboissiere rafael at debian.org
Fri Jan 18 12:33:11 UTC 2008


* Francesco Potorti` <Potorti at isti.cnr.it> [2008-01-18 13:00]:

> >> Package: octave2.9
> >> Version: 1:2.9.14-1
> >> Severity: normal
> >> 
> >> octave> s=struct("a",{},"b",{},"c",{},"d",{});
> >> octave> s(1).a=1;
> >> octave> [s(1).b s(1).c s(1).d]=sscanf("2 3 4","%d %d %d","C");
> >> octave> s(2).a=11;
> >> octave> [s(2).b s(2).c s(2).d]=sscanf("12 13 14","%d %d %d","C");
> >> error: some elements undefined in return list
> >> error: evaluating assignment expression near line 42, column 25
> 
> >I cannot replicate the bug with octave2.9 2.9.19-2, the version currently in
> >unstable.  Could you please confirm that this is also the case for you?
> 
> I just upgraded to octave3.0 and indeed the bug is not there.  I suppose
> that you can close it.

Done, thanks.

-- 
Rafael





More information about the Pkg-octave-devel mailing list