@@ -312,30 +312,6 @@ function LinearSolve.init_cacheval(
312312 end
313313end
314314
315- function LinearSolve. init_cacheval (
316- alg:: GenericFactorization , A:: AbstractSciMLOperator , b, u, Pl, Pr,
317- maxiters:: Int , abstol, reltol,
318- verbose:: Union{LinearVerbosity, Bool} , assumptions:: OperatorAssumptions )
319- if has_concretization (A)
320- return LinearSolve. init_cacheval (alg, convert (AbstractMatrix, A), b, u, Pl, Pr,
321- maxiters, abstol, reltol, verbose, assumptions)
322- else
323- nothing
324- end
325- end
326-
327- function LinearSolve. init_cacheval (
328- alg:: GenericLUFactorization , A:: AbstractSciMLOperator , b, u, Pl, Pr,
329- maxiters:: Int , abstol, reltol,
330- verbose:: Union{LinearVerbosity, Bool} , assumptions:: OperatorAssumptions )
331- if has_concretization (A)
332- return LinearSolve. init_cacheval (alg, convert (AbstractMatrix, A), b, u, Pl, Pr,
333- maxiters, abstol, reltol, verbose, assumptions)
334- else
335- nothing
336- end
337- end
338-
339315function LinearSolve. init_cacheval (
340316 alg:: QRFactorization , A:: AbstractSciMLOperator , b, u, Pl, Pr,
341317 maxiters:: Int , abstol, reltol,
@@ -485,6 +461,10 @@ function LinearSolve._ldiv!(::SVector,
485461end
486462end # @static if Base.USE_GPL_LIBS
487463
464+ function LinearSolve. pattern_changed (fact:: Nothing , A:: SparseArrays.SparseMatrixCSC )
465+ true
466+ end
467+
488468function LinearSolve. pattern_changed (fact, A:: SparseArrays.SparseMatrixCSC )
489469 ! (SparseArrays. decrement (SparseArrays. getcolptr (A)) ==
490470 fact. colptr && SparseArrays. decrement (SparseArrays. getrowval (A)) ==
0 commit comments