Fix test files following change in the preprocessor when there is no parameter or exogenous
parent
faa3185bdf
commit
b0841b4136
|
@ -1 +1 @@
|
||||||
Subproject commit bf89cedd88eef94b9e45ebf7a0a43574a1e4a16a
|
Subproject commit 84d57393dc3972f1c61be9f9047ecd517319a318
|
|
@ -31,10 +31,10 @@ if ~isequal(length(intersect(M_.endo_names, {'c'; 'y'; 'k'; 'b'; 'a'; 'h'})), 6)
|
||||||
error('Endogenous variables are wrong.')
|
error('Endogenous variables are wrong.')
|
||||||
end
|
end
|
||||||
|
|
||||||
if isfield(M_, 'param_names')
|
if length(M_.param_names) > 0
|
||||||
error('Parameters are wrong.')
|
error('Parameters are wrong.')
|
||||||
end
|
end
|
||||||
|
|
||||||
if ~isequal(length(intersect(M_.exo_names, {'e'; 'u'; 'theta'; 'psi'; 'alpha'; 'beta'; 'delta'; 'rho'; 'tau'})), 9)
|
if ~isequal(length(intersect(M_.exo_names, {'e'; 'u'; 'theta'; 'psi'; 'alpha'; 'beta'; 'delta'; 'rho'; 'tau'})), 9)
|
||||||
error('Exogenous variables are wrong.')
|
error('Exogenous variables are wrong.')
|
||||||
end
|
end
|
||||||
|
|
|
@ -30,10 +30,10 @@ if ~isequal(length(intersect(M_.endo_names, {'c'; 'y'; 'k'; 'b'; 'a'})), 5)
|
||||||
error('Endogenous variables are wrong.')
|
error('Endogenous variables are wrong.')
|
||||||
end
|
end
|
||||||
|
|
||||||
if isfield(M_, 'param_names')
|
if length(M_.param_names) > 0
|
||||||
error('Parameters are wrong.')
|
error('Parameters are wrong.')
|
||||||
end
|
end
|
||||||
|
|
||||||
if ~isequal(length(intersect(M_.exo_names, {'e'; 'u'; 'h'; 'alpha'; 'beta'; 'delta'; 'rho'; 'tau'})), 8)
|
if ~isequal(length(intersect(M_.exo_names, {'e'; 'u'; 'h'; 'alpha'; 'beta'; 'delta'; 'rho'; 'tau'})), 8)
|
||||||
error('Exogenous variables are wrong.')
|
error('Exogenous variables are wrong.')
|
||||||
end
|
end
|
||||||
|
|
|
@ -31,6 +31,6 @@ if ~isequal(length(intersect(M_.endo_names, {'D'; 'S'; 'p'})), 3)
|
||||||
error('Endogenous variables are wrong.')
|
error('Endogenous variables are wrong.')
|
||||||
end
|
end
|
||||||
|
|
||||||
if isfield(M_, 'exo_names')
|
if length(M_.exo_names) > 0
|
||||||
error('Exogenous variables are wrong.')
|
error('Exogenous variables are wrong.')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue