From 7b83a393427eba50c730da83efd14e89eb8a3200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Scylla=29?= Date: Thu, 20 Mar 2014 14:51:21 +0100 Subject: [PATCH] Fixed bug. Concerns a hidden feature (initialization of the posterior kernel from the prior mode instead of the prior mean). (cherry picked from commit 90dc33764de443ee7c1063f8d165510756d70f89) --- matlab/set_prior.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/set_prior.m b/matlab/set_prior.m index a0e8b9632..b71730c8a 100644 --- a/matlab/set_prior.m +++ b/matlab/set_prior.m @@ -259,8 +259,8 @@ if options_.initialize_estimated_parameters_with_the_prior_mode if ~isempty(k) xparam1(k) = bayestopt_.p1(k); end - xparam1 = transpose(xparam1); -end + xparam1 = xparam1; +end % I create subfolder M_.dname/prior if needed. CheckPath('prior',M_.dname);