Skip to content
Snippets Groups Projects
Commit 01e5b094 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Merge pull request #1129 from JohannesPfeifer/debug_ramsey

Fix number of multipliers added by Ramsey used in evaluate_steady_sta…
parents 61e6e80b af5368e8
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ function [ys,params,info] = evaluate_steady_state(ys_init,M,options,oo,steadysta ...@@ -60,7 +60,7 @@ function [ys,params,info] = evaluate_steady_state(ys_init,M,options,oo,steadysta
options); options);
%test whether it solves model conditional on the instruments %test whether it solves model conditional on the instruments
resids = evaluate_static_model(ys,exo_ss,params,M,options); resids = evaluate_static_model(ys,exo_ss,params,M,options);
n_multipliers=M.endo_nbr-M.orig_endo_nbr; n_multipliers=M.ramsey_eq_nbr;
nan_indices=find(isnan(resids(n_multipliers+1:end))); nan_indices=find(isnan(resids(n_multipliers+1:end)));
if ~isempty(nan_indices) if ~isempty(nan_indices)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment