Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
......@@ -72,6 +72,10 @@ elseif isa(cA,'struct')
A = struct2cell(A);
B = struct2cell(B);
t = dassert(A, B, tol);
else
if use_isequal_matlab_builtin
t = isequal(A, B);
else
t = isequal(A, B, tol);
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment