Commit df26c668 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

parent 233d0ae0
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment