From a5d84a90c35e02b259026b52de5f93a70d2e69bb Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel.juillard@mjui.fr>
Date: Thu, 14 Jun 2012 13:04:51 +0200
Subject: [PATCH] fixing bug in initialization of bayestopt_.name

---
 matlab/set_prior.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/set_prior.m b/matlab/set_prior.m
index 5139689fe..e4e3cb62a 100644
--- a/matlab/set_prior.m
+++ b/matlab/set_prior.m
@@ -60,7 +60,7 @@ bayestopt_.p6 = []; % first hyper-parameter (\alpha for the BETA and GAMMA distr
 bayestopt_.p7 = []; % second hyper-parameter (\beta for the BETA and GAMMA distributions, \nu for the INVERSE GAMMAs, standard deviation for the GAUSSIAN distribution, upper bound for the UNIFORM distribution).
 
 bayestopt_.jscale = [];
-bayestopt_.name = [];
+bayestopt_.name = {};
 if nvx
     xparam1 = estim_params_.var_exo(:,2);
     ub = estim_params_.var_exo(:,4); 
-- 
GitLab