Fixed bug.

time-shift
Stéphane Adjemian (Charybdis) 2012-09-21 22:13:29 +02:00
parent 233d0ae0d2
commit df26c6686d
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ if info==2% Prior optimization.
iter = 0;
while look_for_admissible_initial_condition
xinit = xparam1+scale*randn(size(xparam1));
if all(xinit>bayestopt_.p3) && all(xinit<bayestopt_.p4)
if all(xinit(:)>bayestopt_.p3) && all(xinit(:)<bayestopt_.p4)
look_for_admissible_initial_condition = 0;
else
if iter == 2000;