Skip to content

Commit

Permalink
Merge branch 'main' into ap/defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Dec 6, 2023
2 parents b68ebc3 + 9787717 commit 21559ed
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 @@ -201,14 +201,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 21559ed

Please sign in to comment.