Skip to content

Commit 7c85975

Browse files
authored
make numerical test less conversative
1 parent 64b857c commit 7c85975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_sklearn_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def _fit_and_get_history(X, y):
441441
# NOTE(stes): Ignore the first 5 iterations, they can have nonsensical values
442442
# due to numerical issues.
443443
history_random_non_negative = history_random[history_random >= 0]
444-
np.testing.assert_allclose(history_random_non_negative, 0, atol=0.05)
444+
np.testing.assert_allclose(history_random_non_negative, 0, atol=0.075)
445445

446446
assert isinstance(history_linear, np.ndarray)
447447
assert history_linear.shape[0] > 0

0 commit comments

Comments
 (0)