make a test more robust
@@ -40,4 +40,4 @@ def test_maximum_correlation_tensorization(dist1, dist2):
rho_mixed = maximum_correlation(mixed, [[0, 2], [1, 3]])
rho_a = maximum_correlation(dist1, [[0], [1]])
rho_b = maximum_correlation(dist2, [[0], [1]])
- assert rho_mixed == pytest.approx(max(rho_a, rho_b), abs=1e-4)
+ assert rho_mixed == pytest.approx(max(rho_a, rho_b), abs=1e-3)
