Learner1D breaks if right bound is added before the left bound
It is surprisingly easy to completely break the Learner1D
import adaptive
adaptive.notebook_extension()
def f(x): return x
learner = adaptive.Learner1D(f, bounds=(-1, 1))
learner.tell(1, 0) # first add a point at the right boundary
learner.ask(1) # This will forever return ([1.0], [inf])
Edited by Bas Nijholt