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

Merge branch 'discretion' into 'master'

discretionary_policy_initialization.m: fix logic of check for instruments

See merge request !2053
parents 13709f68 e9a19024
Branches
Tags
1 merge request!2053discretionary_policy_initialization.m: fix logic of check for instruments
Pipeline #7284 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