Skip to content

Commit

Permalink
Check only whether problem can be LR (#248)
Browse files Browse the repository at this point in the history
* Check only whether problem can be LR

* Fix indentation in `docs`
  • Loading branch information
michalk8 committed Feb 9, 2023
1 parent 5700967 commit bd13308
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ott/solvers/quadratic/gromov_wasserstein.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ def __call__(
key = jax.random.PRNGKey(0)
key1, key2 = jax.random.split(key, 2)

# consider converting problem first if using low-rank solver
if self.is_low_rank and prob._is_low_rank_convertible:
if prob._is_low_rank_convertible:
prob = prob.to_low_rank()

if init is None:
Expand Down

0 comments on commit bd13308

Please sign in to comment.