Skip to content
Snippets Groups Projects
Verified Commit b0841b41 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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

parent faa3185b
No related branches found
No related tags found
No related merge requests found
Subproject commit bf89cedd88eef94b9e45ebf7a0a43574a1e4a16a Subproject commit 84d57393dc3972f1c61be9f9047ecd517319a318
...@@ -31,7 +31,7 @@ if ~isequal(length(intersect(M_.endo_names, {'c'; 'y'; 'k'; 'b'; 'a'; 'h'})), 6) ...@@ -31,7 +31,7 @@ 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
......
...@@ -30,7 +30,7 @@ if ~isequal(length(intersect(M_.endo_names, {'c'; 'y'; 'k'; 'b'; 'a'})), 5) ...@@ -30,7 +30,7 @@ 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
......
...@@ -31,6 +31,6 @@ if ~isequal(length(intersect(M_.endo_names, {'D'; 'S'; 'p'})), 3) ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment