-
Notifications
You must be signed in to change notification settings - Fork 34
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
Negative indexing does not reverse Dims #306
Comments
Totally, there are some problems with unorthodox indexing like this in DimensionalData.jl, because it relies on The problem is there is no entirely type-stable way to handle a reverse index and have also fast selector lookups. We probably just need to check all |
Annoyingly, updating a Maybe it should just throw an error instead and tell you to use |
By the way the easy fix is: A = set(A, Y => DimentionalData.ReverseOrdered()) |
now runing
whereas
i.e. once
Y
isForwardOrdered
onceReverseOrdered
. Shouldn't they be the same? Using negative indexing leads to issues, for instance, with plotting.The text was updated successfully, but these errors were encountered: