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
Branches
Tags
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)
error('Endogenous variables are wrong.')
end
if isfield(M_, 'param_names')
if length(M_.param_names) > 0
error('Parameters are wrong.')
end
......
......@@ -30,7 +30,7 @@ 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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment