Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

MalteKurz
Copy link
Contributor

Reference Issues/PRs

Docstring fix moved to a separate PR (see #22059 (comment) @thomasjpfan)

What does this implement/fix? Explain your changes.

Fixes the docstring of sklearn.utils._testing.assert_allclose. There, for rtol as well as atol it was stated that "If None, it is set based on the provided arrays' dtypes.". However, looking into the code it becomes clear that only rtol is dtype-aware (if set to None) but not atol. Therefore, in this PR the statement is removed from the atol docstring.

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, Thanks @MalteKurz

@jeremiedbb jeremiedbb merged commit 996237f into scikit-learn:main Jun 7, 2022
ogrisel pushed a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
glemaitre pushed a commit that referenced this pull request Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants