Commit e0760701 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Merge pull request #710 from JohannesPfeifer/estimation_init_analytic_derivation

Fix bug in dynare_estimation_init.m with analytic_derivation where param...
parents 398718d4 6030fed4
......@@ -453,7 +453,8 @@ if options_.analytic_derivation,
if estim_params_.np,
% check if steady state changes param values
M=M_;
M.params(estim_params_.param_vals(:,1)) = M.params(estim_params_.param_vals(:,1))*1.01;
M.params(estim_params_.param_vals(:,1)) = xparam1(estim_params_.nvx+estim_params_.ncx+estim_params_.nvn+estim_params_.ncn+1:end); %set parameters
M.params(estim_params_.param_vals(:,1)) = M.params(estim_params_.param_vals(:,1))*1.01; %vary parameters
if options_.diffuse_filter
steadystate_check_flag = 0;
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment