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

Port to Python 3 & NumPy API 1.7 #7

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

Conversation

gasteigerjo
Copy link

This pull request ports the package to Python 3 and NumPy API 1.7. It therefore solves issue #3.

I've also increased EPSILON a bit to reduce problems caused by catastrophic elimination in line 95 of emd.c.

@gasteigerjo gasteigerjo changed the title Python 3 & NumPy API 1.7 Port to Python 3 & NumPy API 1.7 Jan 25, 2019
@gasteigerjo
Copy link
Author

I've closed this for now since the package seems to deadlock sometimes and I need to debug this first.

@gasteigerjo
Copy link
Author

Okay, the problem was due to me calling the function with a Numpy-array of dtype float32. I've added checks to prevent such issues in the future.

@gasteigerjo gasteigerjo reopened this Jan 26, 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.

1 participant