Skip to content

Commit 1be63d8

Browse files
committed
check self._missing_bounds() instead of self.__missing_bounds
1 parent e07416d commit 1be63d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adaptive/learner/learner1D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def npoints(self) -> int:
326326

327327
@cache_latest
328328
def loss(self, real: bool = True) -> float:
329-
if self.__missing_bounds:
329+
if self._missing_bounds():
330330
return np.inf
331331
losses = self.losses if real else self.losses_combined
332332
if not losses:

0 commit comments

Comments
 (0)