Skip to content

Commit

Permalink
Revert "remove kwargs on a more public problem class"
Browse files Browse the repository at this point in the history
This reverts commit 0b06cc4.
  • Loading branch information
selmanozleyen committed Sep 22, 2024
1 parent 376eccf commit 01c89a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/moscot/problems/cross_modality/_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def solve( # type: ignore[override]
threshold: float = 1e-3,
linear_solver_kwargs: Mapping[str, Any] = types.MappingProxyType({}),
device: Optional[Literal["cpu", "gpu", "tpu"]] = None,
**kwargs: Any,
) -> "TranslationProblem[K]":
r"""Solve the translation problem.
Expand Down Expand Up @@ -303,6 +304,7 @@ def solve( # type: ignore[override]
threshold=threshold,
linear_solver_kwargs=linear_solver_kwargs,
device=device,
**kwargs,
) # type: ignore[return-value]

@property
Expand Down

0 comments on commit 01c89a2

Please sign in to comment.