Skip to content

Commit

Permalink
abstract the refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
rayegun committed Sep 12, 2022
1 parent faedcdc commit 0af26c8
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 @@ -619,11 +619,11 @@ for Tv ∈ KLUValueTypes, Ti ∈ KLUIndexTypes
end
end

function klu!(K::KLUFactorization{ComplexF64}, nzval::Vector{U}) where {U<:Complex}
function klu!(K::AbstractKLUFactorization{ComplexF64}, nzval::Vector{U}) where {U<:Complex}
return klu!(K, convert(Vector{ComplexF64}, nzval))
end

function klu!(K::KLUFactorization{Float64}, nzval::Vector{U}) where {U<:AbstractFloat}
function klu!(K::AbstractKLUFactorization{Float64}, nzval::Vector{U}) where {U<:AbstractFloat}
return klu!(K, convert(Vector{Float64}, nzval))
end

Expand Down

2 comments on commit 0af26c8

@rayegun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: "Tag with name v0.3.0 already exists and points to a different commit"

Please sign in to comment.