changeset 24392:583e6447d7dc

camzoom.m: Add a tolerance of 2*eps to failing BIST test or Mac OS X. * camzoom.m: Relax tolerance from 0, to 2*eps.
author Rik <rik@octave.org>
date Fri, 08 Dec 2017 15:46:04 -0800
parents 06a7646a5619
children a7bc68ce08f1
files scripts/plot/appearance/camzoom.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/camzoom.m	Fri Dec 08 13:02:19 2017 -0800
+++ b/scripts/plot/appearance/camzoom.m	Fri Dec 08 15:46:04 2017 -0800
@@ -143,7 +143,7 @@
 %!   camzoom (hax1, 2)
 %!   x = camva (hax1);
 %!   y = camva (hax2);
-%!   assert (tand (y/2) / tand (x/2), 2)
+%!   assert (tand (y/2) / tand (x/2), 2, 2*eps)
 %! unwind_protect_cleanup
 %!   close (hf);
 %! end_unwind_protect