Skip to content

Commit 21559ed

Browse files
Merge branch 'main' into ap/defaults
2 parents b68ebc3 + 9787717 commit 21559ed

File tree

3 files changed

+83
-311
lines changed

3 files changed

+83
-311
lines changed

src/LinearSolve.jl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,12 @@ end
201201
end
202202
end
203203

204-
@static if VERSION > v"1.9-"
205-
PrecompileTools.@compile_workload begin
206-
A = sprand(4, 4, 0.3) + I
207-
b = rand(4)
208-
prob = LinearProblem(A * A', b)
209-
sol = solve(prob) # in case sparspak is used as default
210-
sol = solve(prob, SparspakFactorization())
211-
end
204+
PrecompileTools.@compile_workload begin
205+
A = sprand(4, 4, 0.3) + I
206+
b = rand(4)
207+
prob = LinearProblem(A * A', b)
208+
sol = solve(prob) # in case sparspak is used as default
209+
sol = solve(prob, SparspakFactorization())
212210
end
213211

214212
export LUFactorization, SVDFactorization, QRFactorization, GenericFactorization,

0 commit comments

Comments
 (0)