Merge pull request #760 from JohannesPfeifer/fix_smoother

Fix bug when calling non-Bayesian smoother after Bayesian estimation
time-shift
MichelJuillard 2014-11-20 10:27:15 +01:00
commit 8e9cd95a89
1 changed files with 2 additions and 2 deletions

View File

@ -857,8 +857,8 @@ if (any(bayestopt_.pshape >0 ) && options_.mh_replic) || ...
end
prior_posterior_statistics('posterior',dataset_,dataset_info);
end
xparam = get_posterior_parameters('mean');
M_ = set_all_parameters(xparam,estim_params_,M_);
xparam1 = get_posterior_parameters('mean');
M_ = set_all_parameters(xparam1,estim_params_,M_);
end
end