You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so far still not fixed. this bug is caused the following (for argsort(axis=1)):
when xarray.shape(0) is 1, both data_secondary_stride and inds_secondary_strideis would be 0.
the following functions will not do anything since range from indices_ptr to indices_ptr + 0 is 0.
std::iota(indices_ptr, indices_ptr + inds_secondary_stride, 0);
std::sort(indices_ptr, indices_ptr + inds_secondary_stride, comp);
for walk around, I have to flatten input xarray first if its shape(0) is 1, and add newaxis to the output of argsort.
This
gives incorrect output:
while
does give reasonable output:
Also in my original problem:
I'm getting
The text was updated successfully, but these errors were encountered: