Skip to content

Commit

Permalink
loosen tolerance in test_krandinit slightly to pass with MKL
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jun 13, 2024
1 parent c36288c commit 3bde286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/cluster/tests/test_vq.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def test_krandinit(self, xp):
init = _krandinit(data, k, rng, xp)
orig_cov = cov(data.T)
init_cov = cov(init.T)
xp_assert_close(orig_cov, init_cov, atol=1e-2)
xp_assert_close(orig_cov, init_cov, atol=1.1e-2)

def test_kmeans2_empty(self, xp):
# Regression test for gh-1032.
Expand Down

0 comments on commit 3bde286

Please sign in to comment.