Skip to content

Commit 5c35d58

Browse files
committed
fix ref to lp.cvx in test
1 parent 566a0fc commit 5c35d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/test_ot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def test_generalised_free_support_barycenter_backends(nx):
395395
np.testing.assert_allclose(Y, nx.to_numpy(Y2))
396396

397397

398-
@pytest.mark.skipif(not ot.lp.cvx.cvxopt, reason="No cvxopt available")
398+
@pytest.mark.skipif(not ot.lp._barycenter_solvers.cvxopt, reason="No cvxopt available")
399399
def test_lp_barycenter_cvxopt():
400400
a1 = np.array([1.0, 0, 0])[:, None]
401401
a2 = np.array([0, 0, 1.0])[:, None]

0 commit comments

Comments
 (0)