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
Upon investigation, it appears that the bug is caused by the numpy array not being contiguous. You can determine if a numpy array is contiguous by using the following code: v.flags['C_CONTIGUOUS']. This issue will not manifest itself if you create a new numpy array that contains the data of v (np.array(v)).
To fix this, I guess we should check if the array is contiguous - and when this is not the case, the scalar implementation should be executed.
We should also definitely include some tests for this behavior!
Hi, I run into the problem that the MinMaxDownsampler seems to miss the global maxima with the following test code:
The original maximal value is 78.546175 while the downsampled maximal value is 27.700287.
I don't know where the bug is. Hope to get some suggestions.
sample.txt
The text was updated successfully, but these errors were encountered: