From 92ce6f1016bb52ef8119b59cf68bf5ebd0aefb3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 16 Jan 2020 10:40:15 +0100
Subject: [PATCH] MATLAB compatibility fix: R2014a is 8.3, not 8.4

(cherry picked from commit 048564c97bc9d2430cb4780468048f785123f626)
---
 matlab/dynare_config.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m
index e87822459a..050bb60e88 100644
--- a/matlab/dynare_config.m
+++ b/matlab/dynare_config.m
@@ -16,7 +16,7 @@ function dynareroot = dynare_config(path_to_dynare)
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 2001-2019 Dynare Team
+% Copyright (C) 2001-2020 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -138,7 +138,7 @@ if ~isoctave && matlab_ver_less_than('7.11')
 end
 
 %% isdiag is missing in MATLAB < R2014a
-if ~isoctave && matlab_ver_less_than('8.4')
+if ~isoctave && matlab_ver_less_than('8.3')
     p{end+1} = '/missing/isdiag';
 end
 
-- 
GitLab