Skip to content

Commit

Permalink
see #678
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Apr 30, 2024
1 parent db94c44 commit 82737c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/problems/space/test_alignment_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def test_solve_balanced(
rank: int,
initializer: Optional[Literal["random", "rank2"]],
):
kwargs = {}
# check https://github.com/ott-jax/ott/issues/495
kwargs = {"inner_iterations": 10}
if rank > -1:
kwargs["initializer"] = initializer
if initializer == "random":
Expand Down
3 changes: 2 additions & 1 deletion tests/problems/space/test_mapping_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def test_solve_balanced(
initializer: Optional[Literal["random", "rank2"]],
):
adataref, adatasp = _adata_spatial_split(adata_mapping)
kwargs = {}
# check https://github.com/ott-jax/ott/issues/495
kwargs = {"inner_iterations": 10}
if rank > -1:
kwargs["initializer"] = initializer
if initializer == "random":
Expand Down

0 comments on commit 82737c9

Please sign in to comment.