-
Notifications
You must be signed in to change notification settings - Fork 46
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
Inconsistent behaviour for applyeager
concerning indices
#24
Comments
applyeager
converning indicesapplyeager
concerning indices
we could add a Lines 65 to 67 in 6055db7
function applyeager(op::Operation, img::AbstractArray, param)
- maybe_copy(applylazy(op, img, param))
+ plain_array(maybe_copy(applylazy(op, img, param)))
end |
I considered this I am pretty sure. The issue is that the augment function is free to choose if an operation is applied eagerly or lazily. So the indices in eager should match the indices in lazy. As I see it, propagating arbitrary indices are a feature and not a bug |
Cool, I see your point here. |
That said. That statement is currently not true (if i remember correctly). |
I just noticed sometimes that the fallback gets rid of arbitrary indices while some implementations do not (and instead return a
OffsetArray
). This should be streamlinedThe text was updated successfully, but these errors were encountered: