Testsuite: fix formula for maximum difference error test

time-shift
Sébastien Villemot 2020-05-13 14:57:40 +02:00
parent d6d528b39c
commit ac1b7cc9e1
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
function fataltest(a,b,n)
if max(max(abs(a)-abs(b))) > 1e-5
if max(max(abs(a-b))) > 1e-5
error(['Test error in test ' int2str(n)])
end