Skip to content

lu seems to be ambiguous on Julia Nightly #920

@kellertuer

Description

@kellertuer

Sometimes I check our Nightly, when they error and I noticed here that the current lu decomposition for 5x5 (but not for 4x4, 3x3 or 2x2) seems to be ambiguous currently?

  MethodError: lu(::SizedMatrix{5, 5, Float64, 2, Matrix{Float64}}, ::Val{true}) is ambiguous. Candidates:
948
    lu(A::AbstractMatrix, ::Val{true}; check) in LinearAlgebra at deprecated.jl:70
949
    lu(A::StaticMatrix{N, N}, pivot::Union{Val{false}, Val{true}}; check) where N in StaticArrays at StaticArrays/uH2MB/src/lu.jl:40
950
    lu(A::StaticMatrix, pivot::Union{Val{false}, Val{true}}; check) in StaticArrays at StaticArrays/uH2MB/src/lu.jl:33
951
  Possible fix, define
952
    lu(::StaticMatrix{N, N}, ::Val{true}) where N

This seems to come originally from our matrix exponential call here.

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