Fix test files following change in the preprocessor when there is no parameter or exogenous

time-shift
Sébastien Villemot 2019-04-30 16:42:40 +02:00
parent faa3185bdf
commit b0841b4136
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
4 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit bf89cedd88eef94b9e45ebf7a0a43574a1e4a16a
Subproject commit 84d57393dc3972f1c61be9f9047ecd517319a318

View File

@ -31,10 +31,10 @@ if ~isequal(length(intersect(M_.endo_names, {'c'; 'y'; 'k'; 'b'; 'a'; 'h'})), 6)
error('Endogenous variables are wrong.')
end
if isfield(M_, 'param_names')
if length(M_.param_names) > 0
error('Parameters are wrong.')
end
if ~isequal(length(intersect(M_.exo_names, {'e'; 'u'; 'theta'; 'psi'; 'alpha'; 'beta'; 'delta'; 'rho'; 'tau'})), 9)
error('Exogenous variables are wrong.')
end
end

View File

@ -30,10 +30,10 @@ if ~isequal(length(intersect(M_.endo_names, {'c'; 'y'; 'k'; 'b'; 'a'})), 5)
error('Endogenous variables are wrong.')
end
if isfield(M_, 'param_names')
if length(M_.param_names) > 0
error('Parameters are wrong.')
end
if ~isequal(length(intersect(M_.exo_names, {'e'; 'u'; 'h'; 'alpha'; 'beta'; 'delta'; 'rho'; 'tau'})), 8)
error('Exogenous variables are wrong.')
end
end

View File

@ -31,6 +31,6 @@ if ~isequal(length(intersect(M_.endo_names, {'D'; 'S'; 'p'})), 3)
error('Endogenous variables are wrong.')
end
if isfield(M_, 'exo_names')
if length(M_.exo_names) > 0
error('Exogenous variables are wrong.')
end