Skip to content

Commit 5ca16a0

Browse files
committed
LearnerND: add self.bounds like in other learners
1 parent fc297c3 commit 5ca16a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adaptive/learner/learnerND.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ def __init__(self, func, bounds, loss_per_simplex=None):
312312
self.data = OrderedDict()
313313
self.pending_points = set()
314314

315+
self.bounds = bounds
315316
if isinstance(bounds, scipy.spatial.ConvexHull):
316317
hull_points = bounds.points[bounds.vertices]
317318
self._bounds_points = sorted(list(map(tuple, hull_points)))

0 commit comments

Comments
 (0)