Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Feb 11, 2023
1 parent c57be79 commit 3b3b487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/KLU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ end

nnz(K::AbstractKLUFactorization) = K.lnz + K.unz + K.nzoff

if !isdefined(LinearAlgebra, :AdjointFactorization)
if !isdefined(LinearAlgebra, :AdjointFactorization) # VERSION < v"1.10-"
Base.adjoint(K::AbstractKLUFactorization) = Adjoint(K)
Base.transpose(K::AbstractKLUFactorization) = Transpose(K)
end
Base.transpose(K::AbstractKLUFactorization) = TransposeFact(K)

function setproperty!(klu::AbstractKLUFactorization, ::Val{:(_symbolic)}, x)
_free_symbolic(klu)
Expand Down

0 comments on commit 3b3b487

Please sign in to comment.