Skip to content

Commit c35900c

Browse files
fix cholmod limitations
1 parent 16557b9 commit c35900c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/factorization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,10 @@ function init_cacheval(alg::CHOLMODFactorization,
838838
nothing
839839
end
840840

841-
function init_cacheval(alg::CHOLMODFactorization, A::SparseMatrixCSC{Float64, Int}, b, u,
841+
function init_cacheval(alg::CHOLMODFactorization, A::Union{SparseMatrixCSC{T, Int}, Symmetric{T, SparseMatrixCSC{T, Int}}}, b, u,
842842
Pl, Pr,
843843
maxiters::Int, abstol, reltol,
844-
verbose::Bool, assumptions::OperatorAssumptions)
844+
verbose::Bool, assumptions::OperatorAssumptions) where {T <: Union{Float32,Float64}}
845845
PREALLOCATED_CHOLMOD
846846
end
847847

0 commit comments

Comments
 (0)