Skip to content

Commit d51e5d0

Browse files
fix ambiguity
1 parent 7332ca1 commit d51e5d0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/factorization.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,14 @@ function init_cacheval(alg::LUFactorization,
234234
PREALLOCATED_LU
235235
end
236236

237-
function init_cacheval(alg::Union{LUFactorization, GenericLUFactorization},
237+
function init_cacheval(alg::LUFactorization,
238+
A::AbstractSciMLOperator, b, u, Pl, Pr,
239+
maxiters::Int, abstol, reltol, verbose::Bool,
240+
assumptions::OperatorAssumptions)
241+
nothing
242+
end
243+
244+
function init_cacheval(alg::GenericLUFactorization,
238245
A::AbstractSciMLOperator, b, u, Pl, Pr,
239246
maxiters::Int, abstol, reltol, verbose::Bool,
240247
assumptions::OperatorAssumptions)

0 commit comments

Comments
 (0)