From bc4df1c1ec89a338424b5eb617fa568a76f14b45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 7 Apr 2020 12:01:22 +0200
Subject: [PATCH] Bump minimal MATLAB version to R2014a

---
 src/dassert.m | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/dassert.m b/src/dassert.m
index 67658b5..a913859 100644
--- a/src/dassert.m
+++ b/src/dassert.m
@@ -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
-- 
GitLab