Skip to content

Commit

Permalink
Remove eltype interface-piracy (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr authored May 3, 2023
1 parent 5fc5771 commit 0773db8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/solvers/cholmod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -980,10 +980,6 @@ free!(A::Dense) = free!(pointer(A))
free!(A::Sparse) = free!(pointer(A))
free!(F::Factor) = free!(pointer(F))

eltype(::Type{Dense{T}}) where {T<:VTypes} = T
eltype(::Type{Factor{T}}) where {T<:VTypes} = T
eltype(::Type{Sparse{T}}) where {T<:VTypes} = T

nnz(F::Factor) = nnz(Sparse(F))

function show(io::IO, F::Factor)
Expand Down

0 comments on commit 0773db8

Please sign in to comment.