Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Dec 10, 2024
1 parent 97846e2 commit f15c4e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/backends/ott/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,7 @@ def test_pull(
b, ndim = (b, b.shape[1]) if batched else (b[:, 0], None)
xx, yy = xy
solver = solver_t()
additional_kwargs = {"alpha": 1.0} if xy is None else {}
out = solver(
a=jnp.ones(len(x)) / len(x), b=jnp.ones(len(y)) / len(y), x=x, y=y, xy=(xx, yy), **additional_kwargs
)
out = solver(a=jnp.ones(len(x)) / len(x), b=jnp.ones(len(y)) / len(y), x=x, y=y, xy=(xx, yy), alpha=0.5)
p = out.pull(b, scale_by_marginals=False)

assert isinstance(out, BaseDiscreteSolverOutput)
Expand Down

0 comments on commit f15c4e3

Please sign in to comment.