Commit 8d906fb9 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

Missing condition to decide which version of isequal should be used.
parent 082f571e
......@@ -73,5 +73,9 @@ elseif isa(cA,'struct')
B = struct2cell(B);
t = dassert(A, B, tol);
else
t = isequal(A, B, tol);
if use_isequal_matlab_builtin
t = isequal(A, B);
else
t = isequal(A, B, tol);
end
end
\ No newline at end of file
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