Skip to content

Define isless for 0-dim arrays #55771

Closed
@jariji

Description

@jariji
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrays[a, r, r, a, y, s]featureIndicates new feature / enhancement requestssortingPut things in order

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions