Skip to content
Snippets Groups Projects
Commit 13eb2185 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (ub is unknown but defined as a field in bayestopt_).

parent 1ac55d8b
Branches
Tags
No related merge requests found
......@@ -112,7 +112,7 @@ for plt = 1:nbplt,
l1 = x(kk) - (l2-x(kk));
m1 = 1;
end
if ~m1 && (l1>(1-ll)*x(kk)) && (x(kk)+(x(kk)-l1)<ub(kk))
if ~m1 && (l1>(1-ll)*x(kk)) && (x(kk)+(x(kk)-l1)<BayesInfo.ub(kk))
l2 = x(kk) + (x(kk)-l1);
end
z1 = l1:((x(kk)-l1)/10):x(kk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment