Skip to content
Snippets Groups Projects
Commit 8ed53382 authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by Sébastien Villemot
Browse files

Fixed bug.

(cherry picked from commit df26c668)
parent b307a719
Branches
Tags
No related merge requests found
......@@ -131,7 +131,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment