-
Notifications
You must be signed in to change notification settings - Fork 86
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
Kernel never returns from np.prod()
on quaternions
#54
Comments
I can verify that this happens with the newest versions of everything. I've tracked it back to the import numpy as np
from numpy.core import umath as um
import quaternion
a = np.array([quaternion.x, quaternion.y])
um.multiply.reduce(a, axis=None, dtype=None, out=None, keepdims=False) Unfortunately, I can't actually find where that function is defined, because I would hope to pass the buck to the @eric-wieser Since you seem to know something about both repos, any thoughts? |
However, it works fine on |
|
The hang is within |
This is a numpy bug, in Please file an issue upstream! |
*infinite loop |
Thanks! Issue filed. I'll keep an eye on that to test any fixes, and I'll leave this open until the fix makes it into a numpy release. |
The changes have filtered down to the conda package, so this issue is resolved. Thanks everyone! |
Performing the
prod
NumPy operation over an array of quaternions results in kernel becoming unresponsive and producing a 100% CPU load. Only restarting the kernel would bring the notebook back to life.Example code:
The text was updated successfully, but these errors were encountered: