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

Skip to content

Conversation

@rmenuet
Copy link
Contributor

@rmenuet rmenuet commented Feb 26, 2019

Reference Issues/PRs

Fixes issue #12552
Takes over #12568

What does this implement/fix? Explain your changes.

Fix some formatting issues (lines length, hanging space & under-indentation) raised by flake8
Fix tests that were failing (haversine for sparse matrix, slicing issue in a test)

@rth @eamanu

S = pairwise_distances(X, Y, metric="haversine")
S2 = haversine_distances(X, Y)
assert_array_almost_equal(S, S2)

Copy link
Member

Choose a reason for hiding this comment

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

The code below used to run on a different X

Copy link
Contributor Author

@rmenuet rmenuet Feb 27, 2019

Choose a reason for hiding this comment

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

Are you sure?
I might be wrong but I cannot find a test with a different X in the git history (the example in the docstring was changed to real places long./lat. but not this test).

@rth
Copy link
Member

rth commented Jul 3, 2019

The original PR #12568 ended up being merged. Closing. Thanks for contributing @zanospi !

@rth rth closed this Jul 3, 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