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

Unary + operator for a single CartesianIndex #54355

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

jishnub
Copy link
Contributor

@jishnub jishnub commented May 4, 2024

This operation seems like it should exist for a CartesianIndex.

julia> +(CartesianIndex(2,2))
CartesianIndex(2, 2)

Noticed in JuliaArrays/FillArrays.jl#363

@kimikage

This comment was marked as resolved.

@jishnub jishnub changed the title Plus operator for a single CartesianIndex Unary + operator for a single CartesianIndex May 10, 2024
@jishnub
Copy link
Contributor Author

jishnub commented May 16, 2024

I don't really see this being contentious, so barring further comments, I'll merge this in a week

@dkarrasch dkarrasch merged commit 7b3072e into master May 20, 2024
8 checks passed
@dkarrasch dkarrasch deleted the jishnub/cartindplus branch May 20, 2024 15:05
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants