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

Numpy Import order #1

Open
ivan-krukov opened this issue Sep 30, 2016 · 1 comment
Open

Numpy Import order #1

ivan-krukov opened this issue Sep 30, 2016 · 1 comment
Labels

Comments

@ivan-krukov
Copy link
Member

The python extension will produce a segfault if it is imported after numpy.

import numpy as np
import wfes
mu = 1e-8

wf = wfes.solve(50, -0.1, mu, mu, 0.0)
# SEGFAULT OF DOOM

However, the reverse import order is okay:

import numpy as np
import wfes
# ... works
@ivan-krukov
Copy link
Member Author

Also, this only applies to linux - python 3.5.1 from conda 4.0.8 (compiled with GCC 4.4.7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant