octave-maintainers
[Top][All Lists]
Advanced

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

Re: test failure in test_null_assign.m


From: Jaroslav Hajek
Subject: Re: test failure in test_null_assign.m
Date: Mon, 22 Jun 2009 07:57:23 +0200

On Sun, Jun 21, 2009 at 6:14 PM, Ben Abbott<address@hidden> wrote:
> My current tip is
>
> $ hg tip
> changeset:   9369:ff612fdaee95
> tag:         tip
> user:        Jaroslav Hajek <address@hidden>
> date:        Sat Jun 20 10:13:30 2009 +0200
> summary:     properly unshare variable in subsasgn
>
> From fntests.log ...
>
> 1177 >>>>> processing test_null_assign
> 1178   ***** test
> 1179  a = ones (3); subsasgn (a, substruct ('()', {':',1:2}), []); assert
> (size (a), [3,1])
> 1180 !!!!! test failed
> 1181 assert (size (a),[3, 1]) expected
> 1182    3   1
> 1183 but got
> 1184    3   3
> 1185 values do not match>>>>> processing test_prefer
>
> It appears that line 1179 should be ...
>
> 1179  a = ones (3); a = subsasgn (a, substruct ('()', {':',1:2}), []);
> assert (size (a), [3,1])
>
> ... which would result in a passing test.
>
> I noticed the 3.2 sources have the same test, but passes for me. If my
> inference regarding this test is correct, the test should be fixed in the
> developers archive and in archive for 3.2. Meanwhile it appears there
> remains a bug in the 3.2 sources (?).
>
> Ben

Fixed both, transplanted to 3.2.x.

thanks

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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