We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f9ac4b + 0cd6efb commit 565410fCopy full SHA for 565410f
scipy-stubs/optimize/_lsap.pyi
@@ -1,3 +1,7 @@
1
-from scipy._typing import Untyped
+import numpy as np
2
+import optype.numpy as onp
3
-def linear_sum_assignment(*args: Untyped, **kwargs: Untyped) -> Untyped: ...
4
+def linear_sum_assignment(
5
+ cost_matrix: onp.ToFloat2D,
6
+ maximize: onp.ToBool = False,
7
+) -> tuple[onp.Array1D[np.intp], onp.Array1D[np.intp]]: ...
0 commit comments