Skip to content

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

Merged
qinhanmin2014 merged 1 commit into
scikit-learn:masterfrom
jnothman:tol
Feb 19, 2019
Merged

qinhanmin2014 merged 1 commit into
scikit-learn:masterfrom
jnothman:tol

Conversation

@jnothman

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@NicolasHug NicolasHug left a comment •

Copy link
Copy Markdown
Member

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

jnothman commented Feb 17, 2019 via email

Copy link
Copy Markdown
Member Author

@jnothman

jnothman commented Feb 17, 2019 via email

Copy link
Copy Markdown
Member Author

@NicolasHug

Copy link
Copy Markdown
Member

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

@adrinjalali adrinjalali left a comment

Copy link
Copy Markdown
Member

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
16 of 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