Skip to content

Backport 1.8: argmin / findmin incorrect behaviour #239

@matbesancon

Description

@matbesancon

Exactly the same issue as #93 since the other one was closed :/

julia> using SparseArrays

julia> direction = spzeros(3); direction[1] = 2
2

julia> argmin(direction) === nothing
true

it is a fairly major bug IMO, I'm surprised 1.8 wasn't tested for breaking changes on packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions