From 3bfe2c55008d26ccf77f2d766ac542977b24b18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 22 Nov 2023 16:49:59 +0100 Subject: [PATCH] Testsuite: compatibility fix for MATLAB R2018b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On that version, spaces in variables names within a call to “table” are not supported. --- tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod | 2 +- tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod | 2 +- tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod b/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod index 62b1edc511..4c01fc4788 100644 --- a/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod +++ b/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod @@ -261,7 +261,7 @@ if ~isoctave table([AndreasenEtAl.Q@{orderApp} ; str2double(AndreasenEtAl.moments@{orderApp}(:,5)) ; str2double(AndreasenEtAl.moments@{orderApp}(:,6))],... [oo_.mom.Q ; oo_.mom.data_moments ; oo_.mom.model_moments ],... [dev_Q ; dev_datamoments ; dev_modelmoments ],... - 'VariableNames', {'Andreasen et al', 'Dynare', 'dev'}) + 'VariableNames', {'Andreasen_et_al', 'Dynare', 'dev'}) end if norm(dev_modelmoments)> 1e-4 diff --git a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod index f4653c43a9..6cf1dceda4 100644 --- a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod +++ b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod @@ -262,7 +262,7 @@ if ~isoctave table([AndreasenEtAl.Q@{orderApp} ; str2double(AndreasenEtAl.moments@{orderApp}(:,5)) ; str2double(AndreasenEtAl.moments@{orderApp}(:,6))],... [oo_.mom.Q ; oo_.mom.data_moments ; oo_.mom.model_moments ],... [dev_Q ; dev_datamoments ; dev_modelmoments ],... - 'VariableNames', {'Andreasen et al', 'Dynare', 'dev'}) + 'VariableNames', {'Andreasen_et_al', 'Dynare', 'dev'}) end if norm(dev_modelmoments)> 1e-4 diff --git a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod index 8a511af731..a78b1364a5 100644 --- a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod +++ b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod @@ -261,7 +261,7 @@ if ~isoctave table([AndreasenEtAl.Q@{orderApp} ; str2double(AndreasenEtAl.moments@{orderApp}(:,5)) ; str2double(AndreasenEtAl.moments@{orderApp}(:,6))],... [oo_.mom.Q ; oo_.mom.data_moments ; oo_.mom.model_moments ],... [dev_Q ; dev_datamoments ; dev_modelmoments ],... - 'VariableNames', {'Andreasen et al', 'Dynare', 'dev'}) + 'VariableNames', {'Andreasen_et_al', 'Dynare', 'dev'}) end if norm(dev_modelmoments)> 1e-4 -- GitLab