Mercurial > octave
diff scripts/plot/appearance/camlookat.m @ 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 | 7854d5752dd2 |
children | 363fb10055df |
line wrap: on
line diff
--- a/scripts/plot/appearance/camlookat.m Thu Oct 21 16:42:38 2021 +0200 +++ b/scripts/plot/appearance/camlookat.m Fri Oct 22 12:00:54 2021 +0200 @@ -198,15 +198,15 @@ %! camlookat (h1); %! dir2 = camtarget () - campos (); %! dir2 /= norm (dir2); -%! assert (dir, dir2, -2*eps); +%! assert (dir, dir2, -4*eps); %! camlookat (h2); %! dir2 = camtarget () - campos (); %! dir2 /= norm (dir2); -%! assert (dir, dir2, -2*eps); +%! assert (dir, dir2, -4*eps); %! camlookat ([h1 h2]); %! dir2 = camtarget () - campos (); %! dir2 /= norm (dir2); -%! assert (dir, dir2, -2*eps); +%! assert (dir, dir2, -4*eps); %! unwind_protect_cleanup %! close (hf); %! end_unwind_protect