Mercurial > octave
view test/bug-54490.tst @ 30245:789d0e220350
camlookat.m: Increase tolerance in BISTs (bug #61358).
* scripts/plot/appearance/camlookat.m: Increase the tolerance for some BISTs
that were failing on arm64.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 22 Oct 2021 12:00:54 +0200 |
parents | 9080316864bf |
children |
line wrap: on
line source
%!function out = bug54490 () %! global k; %! k = 1; %! out = 3; %!endfunction %!test <*54490> %! global k; %! k = 2; %! a = [5, 6]; %! a(k) = bug54490 (); %! assert (a, [5, 3]); %! k = 2; %! a = [5, 6]; %! [a(k)] = bug54490 (); %! assert (a, [5, 3]); %! clear -global k; # cleanup after test