Skip to content

Commit 53e723a

Browse files
committed
address @jbweston's remarks
1 parent 628152b commit 53e723a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

adaptive/learner/sequence_learner.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import sys
21
from copy import copy
32

43
from sortedcontainers import SortedSet, SortedDict
54

65
from adaptive.learner.base_learner import BaseLearner
76

8-
inf = sys.float_info.max
9-
107

118
class _IgnoreFirstArgument:
129
"""Remove the first argument from the call signature.
@@ -33,7 +30,8 @@ def __setstate__(self, function):
3330

3431

3532
class SequenceLearner(BaseLearner):
36-
r"""A learner that will learn a sequence.
33+
r"""A learner that will learn a sequence. It simply returns
34+
the points in the provided sequence when asked.
3735

3836
This is useful when your problem cannot be formulated in terms of
3937
another adaptive learner, but you still want to use Adaptive's

0 commit comments

Comments
 (0)