metropolis: fixing bug (thanks to J. Pfeifer)

time-shift
Michel Juillard 2011-06-03 15:23:25 +02:00
parent 797b387f12
commit 96384e630d
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ end
if any(isnan(bayestopt_.jscale))
if exist([ModelName '_optimal_mh_scale_parameter.mat'])% This file is created by mode_compute=6.
load([ModelName '_optimal_mh_scale_parameter'])
proposal_covariance_Choleksy_decomposition = d*Scale;
proposal_covariance_Cholesky_decomposition = d*Scale;
else
error('mh:: Something is wrong. I can''t figure out the value of the scale parameter.')
end