Skip to content

Commit 9787717

Browse files
Merge pull request #439 from avik-pal/ap/remove_pre1.9
Remove the unnecessary < 1.9 checks
2 parents e712202 + 97ff64b commit 9787717

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
@@ -199,14 +199,12 @@ end
199199
end
200200
end
201201

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

212210
export LUFactorization, SVDFactorization, QRFactorization, GenericFactorization,

0 commit comments

Comments
 (0)