Skip to content

Commit

Permalink
Merge pull request #439 from avik-pal/ap/remove_pre1.9
Browse files Browse the repository at this point in the history
Remove the unnecessary < 1.9 checks
  • Loading branch information
ChrisRackauckas authored Dec 6, 2023
2 parents e712202 + 97ff64b commit 9787717
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 311 deletions.
14 changes: 6 additions & 8 deletions src/LinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,12 @@ end
end
end

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

export LUFactorization, SVDFactorization, QRFactorization, GenericFactorization,
Expand Down
Loading

0 comments on commit 9787717

Please sign in to comment.