Verified Commit bc4df1c1 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Bump minimal MATLAB version to R2014a

parent 371f3f0e
......@@ -2,7 +2,7 @@ function t = dassert(A,B,tol)
% This function tests the equality of two objects.
% Copyright (C) 2011-2017 Dynare Team
% Copyright (C) 2011-2020 Dynare Team
%
% This file is part of Dynare (m-unit-tests module).
%
......@@ -52,11 +52,7 @@ if isa(A,'double')
if use_isequal_matlab_builtin
t = isequal(A,B);
if ~t
if ~isoctave && matlab_ver_less_than('7.14')
t = isequalwithequalnans(A,B);
else
t = isequaln(A,B);
end
t = isequaln(A,B);
end
else
if max(abs(A(:)-B(:)))>tol
......@@ -94,4 +90,4 @@ else
else
t = isequal(A, B, tol);
end
end
\ No newline at end of file
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