Skip to content

iszero(::SVector{0}) broken #778

Closed
@pablosanjose

Description

@pablosanjose

Something in v0.12.2 introduced a severe breaking change: it has made iszero(SVector{0,Int}()) a BoundsError, whereas before (in v0.12.1) it was true. In my opinion the old behavior made more sense, as indeed zero(SVector{0,Int}) === SVector{0,Int}()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions