Skip to content
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

getindex needs to accept UnitRange #4

Open
bc0n opened this issue Nov 1, 2023 · 1 comment
Open

getindex needs to accept UnitRange #4

bc0n opened this issue Nov 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bc0n
Copy link
Member

bc0n commented Nov 1, 2023

ERROR: MethodError: no method matching getindex(::HomogeneousTransformations.HMatrix, ::UnitRange{Int64}, ::Int64)

Closest candidates are:
  getindex(::HomogeneousTransformations.HMatrix, ::Int64, ::Int64)
   @ HomogeneousTransformations \HMatrix.jl:83
@bc0n bc0n added the bug Something isn't working label Nov 1, 2023
@bc0n bc0n self-assigned this Nov 1, 2023
@bc0n
Copy link
Member Author

bc0n commented Nov 1, 2023

Calls like H[1:3,4] give the above error, which can be worked around by H.data[1:3,4].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant