-
Notifications
You must be signed in to change notification settings - Fork 110
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
multi-dimensional indexing question #111
Comments
Definitely a bug. Will look into a fix. |
rsc
added a commit
to rsc/ivy
that referenced
this issue
May 9, 2022
The right-to-left evaluation order for indexes was causing the accumulation of the shape to end up reversed. Fix that by doing an additional reverse after the loop. Fixes robpike#111.
rsc
added a commit
to rsc/ivy
that referenced
this issue
May 9, 2022
The right-to-left evaluation order for indexes was causing the accumulation of the shape to end up reversed. Fix that by doing an additional reverse after the loop. Fixes robpike#111.
Sent #112 with a fix. |
robpike
pushed a commit
that referenced
this issue
May 10, 2022
The right-to-left evaluation order for indexes was causing the accumulation of the shape to end up reversed. Fix that by doing an additional reverse after the loop. Fixes #111.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @fumin in #28 (comment):
Why does
(5 5 rho iota 25)[3 2; 1 2 3]
return the following?I was expecting
which is also what's returned by https://tryapl.org/ with the expression
(5 5 ⍴ ⍳ 25)[3 2; 1 2 3]
.Below is my investigation
The text was updated successfully, but these errors were encountered: