Testsuite: fix formula for maximum difference error test

parent d6d528b3
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment