diff --git a/src/ArrayInterface.jl b/src/ArrayInterface.jl index 75a49f01..be612970 100644 --- a/src/ArrayInterface.jl +++ b/src/ArrayInterface.jl @@ -499,14 +499,7 @@ function lu_instance(A::Matrix{T}) where {T} return LU{luT}(similar(A, 0, 0), ipiv, info) end function lu_instance(jac_prototype::SparseMatrixCSC) - SuiteSparse.UMFPACK.UmfpackLU(Ptr{Cvoid}(), - Ptr{Cvoid}(), - 1, - 1, - jac_prototype.colptr[1:1], - jac_prototype.rowval[1:1], - jac_prototype.nzval[1:1], - 0) + SuiteSparse.UMFPACK.UmfpackLU(similar(jac_prototype, 1, 1)) end function lu_instance(A::Symmetric{T}) where {T}