We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First problem! I installed and then this...
In [1]: import skfmm
In [2]: import numpy as np
In [3]: phi = np.ones((3, 3))
In [4]: phi[1, 1] = -1
ValueError Traceback (most recent call last) /users/wd15/packages/ in () ----> 1 skfmm.distance(phi)
/users/wd15/.virtualenvs/lsmlib/lib/python2.6/site-packages/skfmm/pfmm.pyc in distance(phi, dx, self_test) 71 """ 72 phi, dx, flag = pre_process_args(phi, dx) ---> 73 d = cFastMarcher(phi, dx, flag, None, int(self_test)) 74 d = post_process_result(d) 75 return d
ValueError: flag must be a 1D to 12-D array of integers
Any ideas?
The text was updated successfully, but these errors were encountered:
This seems to be same as issue 2. A 32/64 type issue.
Sorry, something went wrong.
No branches or pull requests
First problem! I installed and then this...
In [1]: import skfmm
In [2]: import numpy as np
In [3]: phi = np.ones((3, 3))
In [4]: phi[1, 1] = -1
In [5]: skfmm.distance(phi)
ValueError Traceback (most recent call last)
/users/wd15/packages/ in ()
----> 1 skfmm.distance(phi)
/users/wd15/.virtualenvs/lsmlib/lib/python2.6/site-packages/skfmm/pfmm.pyc
in distance(phi, dx, self_test)
71 """
72 phi, dx, flag = pre_process_args(phi, dx)
---> 73 d = cFastMarcher(phi, dx, flag, None, int(self_test))
74 d = post_process_result(d)
75 return d
ValueError: flag must be a 1D to 12-D array of integers
Any ideas?
The text was updated successfully, but these errors were encountered: