Skip to content

late #20

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

late #20

wants to merge 7 commits into from

Conversation

FlyingBoot1
Copy link

No description provided.

nearest.append(None)
for point2 in points:
if point is not point2:
dist = euclidean_distance(point, point2)
Copy link
Contributor

Choose a reason for hiding this comment

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

What if the two points are coincident? Check out enumerate to track the position (index) in both lists. if the index is equal, then the points are identical. Otherwise, they might just be coincident.

@jlaura
Copy link
Contributor

jlaura commented Mar 1, 2016

👍

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.

2 participants