Skip to content

Commit

Permalink
fix generic error w genot
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Nov 25, 2024
1 parent baa0362 commit 0fcd620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/moscot/problems/generic/_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def prepare(
cost: OttCostFn_t = "sq_euclidean",
cost_kwargs: CostKwargs_t = types.MappingProxyType({}),
**kwargs: Any,
) -> "GENOTLinProblem[K, B]":
) -> "GENOTLinProblem":
"""Prepare the :class:`moscot.problems.generic.GENOTLinProblem`."""
self.batch_key = key
xy, kwargs = handle_joint_attr_tmp(joint_attr, kwargs)
Expand All @@ -816,7 +816,7 @@ def solve(
valid_sinkhorn_kwargs: Dict[str, Any] = MappingProxyType({}),
train_size: float = 1.0,
**kwargs: Any,
) -> "GENOTLinProblem[K, B]":
) -> "GENOTLinProblem":
"""Solve."""
return super().solve(
batch_size=batch_size,
Expand Down

0 comments on commit 0fcd620

Please sign in to comment.