Mercurial > octave
changeset 23951:2c3a69791ca2
assert.m: Increase tolerance in BIST because of bug in mingw-w64 (bug #48365).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 26 Aug 2017 09:39:00 +0200 |
parents | 2aa0de22f98a |
children | 5570b0f12112 |
files | scripts/testfun/assert.m |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/testfun/assert.m Sat Aug 26 22:38:58 2017 -0700 +++ b/scripts/testfun/assert.m Sat Aug 26 09:39:00 2017 +0200 @@ -624,7 +624,9 @@ %! x = [-40:0]; %! y1 = (10.^x).*(10.^x); %! y2 = 10.^(2*x); -%! assert (y1, y2, eps (y1)); +%! ## Increase tolerance from eps (y1) to 4*eps (y1) because of an upstream bug +%! ## in mingw-w64: https://sourceforge.net/p/mingw-w64/bugs/466/ +%! assert (y1, y2, 4*eps (y1)); %! fail ("assert (y1, y2 + eps*1e-70, eps (y1))"); ## Multiple tolerances