Testsuite: compatibility fix for MATLAB R2018b

On that version, spaces in variables names within a call to “table” are not
supported.
dcontrib-log
Sébastien Villemot 2023-11-22 16:49:59 +01:00
parent 7f58e819c6
commit 3bfe2c5500
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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