Skip to content

Commit e77fb72

Browse files
Make RecursiveFactorization.jl optional
RecrusiveFactorization.jl brings in the LoopVectorization.jl stack, and so it's not a small dependency. It is a good thing to default to often, but we can make it a bit more optional in order to greatly decrease load times.
1 parent 1fad945 commit e77fb72

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/extension_algs.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,11 @@ struct RFLUFactorization{P, T} <: AbstractDenseFactorization
9999
throwerror &&
100100
error("RFLUFactorization requires that RecursiveFactorization.jl is loaded, i.e. `using RecursiveFactorization`")
101101
end
102-
return new{P, T}()
103102
end
104103
end
105104

106-
function RFLUFactorization(; pivot = Val(true), thread = Val(true), throwerror = true)
107-
RFLUFactorization(pivot, thread; throwerror)
105+
function RFLUFactorization(; pivot = Val(true), thread = Val(true))
106+
RFLUFactorization(pivot, thread)
108107
end
109108

110109
"""

0 commit comments

Comments
 (0)