From 96384e630d040fe01797dd8acdb1104f997bf986 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Fri, 3 Jun 2011 15:23:25 +0200 Subject: [PATCH] metropolis: fixing bug (thanks to J. Pfeifer) --- matlab/random_walk_metropolis_hastings_core.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/random_walk_metropolis_hastings_core.m b/matlab/random_walk_metropolis_hastings_core.m index bddc41e94..e952bec02 100644 --- a/matlab/random_walk_metropolis_hastings_core.m +++ b/matlab/random_walk_metropolis_hastings_core.m @@ -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