We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3182a44 commit bc4ae6aCopy full SHA for bc4ae6a
adaptive/learner/learner2D.py
@@ -124,7 +124,7 @@ def uniform_loss(ip: LinearNDInterpolator) -> np.ndarray:
124
125
def resolution_loss_function(
126
min_distance: float = 0, max_distance: float = 1
127
-) -> Callable:
+) -> Callable[[LinearNDInterpolator], np.ndarray]:
128
"""Loss function that is similar to the `default_loss` function, but you
129
can set the maximimum and minimum size of a triangle.
130
0 commit comments