improved warning message when a beta prior has two modes

time-shift
Michel Juillard 2011-03-26 10:31:54 +01:00
parent 78d882900a
commit d0b68189da
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ for i=1:length(k)
if length(m)==1
bayestopt_.p5(k(i)) = m;
else
disp(['Prior distribution for parameter ' int2str(k(i)) ' has two modes!'])
disp(['Prior distribution for parameter ' bayestopt_.name(k(i)) ' has two modes!'])
bayestopt_.p5(k(i)) = bayestopt_.p1(k(i)) ;
end
end