matlab: compare nf2ff data for relative difference

pull/1/head
Thorsten Liebig 2012-02-29 13:41:37 +01:00
parent 34ccfef202
commit c0f8cffa0a
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ if numel(v1)~=numel(v2)
return; return;
end end
if sum(abs(v1(:)-v2(:)) > acc)>0 if sum(abs((v1(:)-v2(:))/v1(:)) > acc)>0
return; return;
end end
equal = 1; equal = 1;