Skip to content
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

correct type error when using distance functions #686

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ian-curtis
Copy link

As mentioned in issue #671, a type error is raised when using certain distance functions with numpy. Seems like it's just an issue of a list not being converted to a numpy array at some point in the process. I'm not sure if my corrections fix the problem in all instances of the code but it certainly corrects the issue for using Python and kmeans. There may be a better place to make the change but I couldn't get any other place to work. I also don't know any C++ so I didn't edit any of those (in case they need to be). Let me know if something is off :).

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.

1 participant