Skip to content
Snippets Groups Projects
Commit a39a0b3b authored by MichelJuillard's avatar MichelJuillard
Browse files

fixed bug when only variances are estimated, but no deep parameter

parent beddf375
Branches
Tags
No related merge requests found
......@@ -335,7 +335,7 @@ nvx = estim_params_.nvx;
ncx = estim_params_.ncx;
nvn = estim_params_.nvn;
ncn = estim_params_.ncn;
if isfield(estim_params_,'param_vals')
if ~isempty(estim_params_.param_vals)
M.params(estim_params_.param_vals(:,1)) = xparam1(nvx+ncx+nvn+ncn+1:end);
end;
oo_.steady_state = evaluate_steady_state(oo_.steady_state,M,options_,oo_,steadystate_check_flag);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment