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

time-shift
Michel Juillard 2012-06-13 14:01:03 +02:00
parent beddf375f0
commit a39a0b3b67
1 changed files with 1 additions and 1 deletions

View File

@ -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);