Skip to content

Commit

Permalink
Hook into a new lu dispatch mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Sep 7, 2023
1 parent 2fae1a1 commit 1c7dd9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/solvers/umfpack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,11 @@ lu(A::AbstractSparseMatrixCSC; check::Bool = true) = lu(float(A); check = check)
lu(A::AdjOrTrans{T,S}; check::Bool = true) where {T<:UMFVTypes, S<:AbstractSparseMatrixCSC{T}} =
lu(copy(A); check)

LinearAlgebra._lu(A::AbstractSparseMatrixCSC; kwargs...) =
lu(A; kwargs...)
LinearAlgebra._lu(::AbstractSparseMatrixCSC, ::LinearAlgebra.PivotingStrategy; kwargs...) =
error("Pivoting Strategies are not supported by `SparseMatrixCSC`s")

"""
lu!(F::UmfpackLU, A::AbstractSparseMatrixCSC; check=true, reuse_symbolic=true, q=nothing) -> F::UmfpackLU
Expand Down

0 comments on commit 1c7dd9d

Please sign in to comment.