NpyIter_MultiNew doesn't preserve the subclass of the array even without NPY_ITER_NO_SUBTYPE flag
22 Apr
2018
22 Apr
'18
11:29 a.m.
Hi everyone, @cournape and I hit a problem trying to fix this issue: https://github.com/numpy/numpy/issues/10933 https://github.com/numpy/numpy/issues/10933 In short, the C implementation for `where` depends on the array created by NpyIter_MultiNew and it seems that there is no way to get the subclass from the iterator (even when all of the initial arrays are subclasses). Here is the gist with reproduction steps: https://gist.github.com/nkartashov/6eb56f942a18c7ee237689f9c71a3b27 https://gist.github.com/nkartashov/6eb56f942a18c7ee237689f9c71a3b27 Could anyone help us with this problem? With regards, Nikita Kartashov
2189
Age (days ago)
2189
Last active (days ago)
0 comments
1 participants
participants (1)
-
Никита Карташов