Skip to content

[MRG] FIX #10561: more tolerance in float equality for 0 bandwidth #13130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2019

Conversation

jnothman
Copy link
Member

The test was new in 0.20, hence the new failure on some Debian platforms

@jnothman jnothman changed the title FIX #10561: more tolerance in float equality for 0 bandwidth [MRG] FIX #10561: more tolerance in float equality for 0 bandwidth Feb 13, 2019
@jnothman jnothman added this to the 0.20.3 milestone Feb 17, 2019
@jnothman
Copy link
Member Author

Open to review so that we can have this fixed for 0.20.3

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

LGTM but I think we are encouraging using assert np.allclose now?

@jnothman
Copy link
Member Author

jnothman commented Feb 17, 2019 via email

@jnothman
Copy link
Member Author

jnothman commented Feb 17, 2019 via email

@NicolasHug
Copy link
Member

yeah they have different defaults... I don't know actually. I'll open an issue and ask

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

LGTM!

@jnothman jnothman mentioned this pull request Feb 19, 2019
17 tasks
@qinhanmin2014 qinhanmin2014 merged commit 24b6934 into scikit-learn:master Feb 19, 2019
jnothman added a commit to jnothman/scikit-learn that referenced this pull request Feb 19, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants