Skip to content

Commit c7b8341

Browse files
authored
Merge pull request #323 from SultanOrazbayev/patch-1
Update doc string for resolution_loss_function
2 parents c24d5a5 + b70d120 commit c7b8341

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
@@ -96,7 +96,7 @@ def resolution_loss_function(min_length=0, max_length=1):
9696
... return x**2
9797
>>>
9898
>>> 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)
99+
>>> learner = adaptive.Learner1D(f, bounds=(-1, -1), loss_per_interval=loss)
100100
"""
101101

102102
@uses_nth_neighbors(0)

0 commit comments

Comments
 (0)