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

Define isless for 0-dim arrays #55771

Open
jariji opened this issue Sep 13, 2024 · 0 comments · May be fixed by #55772
Open

Define isless for 0-dim arrays #55771

jariji opened this issue Sep 13, 2024 · 0 comments · May be fixed by #55772
Labels
___domain:arrays [a, r, r, a, y, s] ___domain:sorting Put things in order kind:feature Indicates new feature / enhancement requests

Comments

@jariji
Copy link
Contributor

jariji commented Sep 13, 2024

julia> [1] < [2]
true

julia> fill(1) < fill(2)
ERROR: MethodError: no method matching isless(::Array{Int64, 0}, ::Array{Int64, 0})

It could be nice if this returned true. I'm not sure if there are complications.

@nsajko nsajko added ___domain:arrays [a, r, r, a, y, s] ___domain:sorting Put things in order kind:feature Indicates new feature / enhancement requests labels Sep 13, 2024
nsajko added a commit to nsajko/julia that referenced this issue Sep 14, 2024
@nsajko nsajko linked a pull request Sep 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
___domain:arrays [a, r, r, a, y, s] ___domain:sorting Put things in order kind:feature Indicates new feature / enhancement requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants