Extending function with new keyword argument fails

The method

cholesky(A::Union{StridedMatrix,RealHermSymComplexHerm{<:Real,<:StridedMatrix}},
    ::Val{false}=Val(false); check::Bool = true)

defined in LinearAlgebra is more specific so it is run instead (keyword arguments do not participate in dispatch).

3 Likes