Mercurial > octave
changeset 29793:146c35a430f4
camorbit.m, cosint.m: Relax tolerance in tests.
* scripts/plot/appearance/camorbit.m, scripts/specfun/cosint.m: Relax tolerance
in tests to allow them to pass on Windows 32bit.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 20 Jun 2021 11:37:50 +0200 |
parents | 315df8a5ac22 |
children | 98fa1d545c8d |
files | scripts/plot/appearance/camorbit.m scripts/specfun/cosint.m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/appearance/camorbit.m Sun Jun 20 10:34:16 2021 +0200 +++ b/scripts/plot/appearance/camorbit.m Sun Jun 20 11:37:50 2021 +0200 @@ -278,7 +278,7 @@ %! sphere (); %! camorbit (hax, -20, -30) %! y = campos (hax); -%! assert (x, y, -eps); +%! assert (x, y, -2*eps); %! unwind_protect_cleanup %! close (hf); %! end_unwind_protect
--- a/scripts/specfun/cosint.m Sun Jun 20 10:34:16 2021 +0200 +++ b/scripts/specfun/cosint.m Sun Jun 20 11:37:50 2021 +0200 @@ -184,7 +184,7 @@ ## tests against maple %!assert (cosint (1), 0.337403922900968135, -2*eps) %!assert (cosint (-1), 0.337403922900968135 + 3.14159265358979324*I, -2*eps) -%!assert (cosint (pi), 0.0736679120464254860, -2e-15) +%!assert (cosint (pi), 0.0736679120464254860, -3e-15) %!assert (cosint (-pi), 0.0736679120464254860 + 3.14159265358979324*I, -2*eps) %!assert (cosint (300), -0.00333219991859211178, -2*eps) %!assert (cosint (1e4), -0.0000305519167244852127, -2*eps)