Fixed bug introduced in ed114ee8f047ee823b4dff1fe514ea4b2de180ae.

time-shift
Stéphane Adjemian (Charybdis) 2015-12-11 18:26:07 +01:00
parent 4670ecb9d6
commit f185d15c36
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ p4 = bayestopt_.p4(nshock+1:end);
[junk1,junk2,junk3,lb,ub,junk4] = set_prior(estim_params_,M_,options_); %Prepare bounds
if ~isempty(bayestopt_) && any(bayestopt_.pshape > 0)
% Set prior bounds
bounds = prior_bounds(bayestopt_, options_.trunc);
bounds = prior_bounds(bayestopt_, options_.prior_trunc);
bounds.lb = max(bounds.lb,lb);
bounds.ub = min(bounds.ub,ub);
else % estimated parameters but no declared priors