We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24d5a5 commit b70d120Copy full SHA for b70d120
1 file changed
adaptive/learner/learner1D.py
@@ -96,7 +96,7 @@ def resolution_loss_function(min_length=0, max_length=1):
96
... return x**2
97
>>>
98
>>> loss = resolution_loss_function(min_length=0.01, max_length=1)
99
- >>> learner = adaptive.Learner1D(f, bounds=[(-1, -1), (1, 1)], loss_per_triangle=loss)
+ >>> learner = adaptive.Learner1D(f, bounds=(-1, -1), loss_per_interval=loss)
100
"""
101
102
@uses_nth_neighbors(0)
0 commit comments