Skip to content
Snippets Groups Projects
Verified Commit 54d1b29e authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

discretionary_policy_initialization.m: fix logic of check for instruments

Related to preprocessor#101

(cherry picked from commit e9a19024)
parent 4d2c8c78
Branches
Tags
No related merge requests found
Pipeline #7288 passed
......@@ -41,7 +41,7 @@ if isfield(M_,'orig_model')
M_.maximum_endo_lag = M_.orig_model.maximum_endo_lag;
end
instr_nbr=M_.orig_endo_nbr-M_.orig_eq_nbr;
instr_nbr=M_.endo_nbr-M_.eq_nbr;
if instr_nbr==0
error('discretionary_policy:: There are no available instruments, because the model has as many equations as variables.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment