Fixed bug in set_prior routine (options_.varobs is a cell array of strings).

time-shift
Stéphane Adjemian (Scylla) 2014-06-23 12:24:17 +02:00
parent f6ce89260a
commit 0cb1b6795b
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ if nvn
bayestopt_.p3 = [ bayestopt_.p3; estim_params_.var_endo(:,8)]; %take generalized distribution into account
bayestopt_.p4 = [ bayestopt_.p4; estim_params_.var_endo(:,9)]; %take generalized distribution into account
bayestopt_.jscale = [ bayestopt_.jscale; estim_params_.var_endo(:,10)];
bayestopt_.name = [ bayestopt_.name; options_.varobs{estim_params_.nvn_observable_correspondence}];
bayestopt_.name = [ bayestopt_.name; transpose(options_.varobs(estim_params_.nvn_observable_correspondence))];
end
if ncx
xparam1 = [xparam1; estim_params_.corrx(:,3)];