11using LinearSolve, LinearAlgebra, SparseArrays, Test, JET
22@test LinearSolve. defaultalg (nothing , zeros (3 )). alg ===
33 LinearSolve. DefaultAlgorithmChoice. GenericLUFactorization
4- prob = LinearProblem (rand (3 ,3 ), rand (3 ))
4+ prob = LinearProblem (rand (3 , 3 ), rand (3 ))
55solve (prob)
66
77@test LinearSolve. defaultalg (nothing , zeros (50 )). alg ===
88 LinearSolve. DefaultAlgorithmChoice. RFLUFactorization
9- prob = LinearProblem (rand (50 ,50 ), rand (50 ))
9+ prob = LinearProblem (rand (50 , 50 ), rand (50 ))
1010solve (prob)
11-
11+
1212@test LinearSolve. defaultalg (nothing , zeros (600 )). alg ===
1313 LinearSolve. DefaultAlgorithmChoice. GenericLUFactorization
14- prob = LinearProblem (rand (600 ,600 ), rand (600 ))
14+ prob = LinearProblem (rand (600 , 600 ), rand (600 ))
1515solve (prob)
1616
1717@test LinearSolve. defaultalg (LinearAlgebra. Diagonal (zeros (5 )), zeros (5 )). alg ===
@@ -31,8 +31,6 @@ solve(prob)
3131prob = LinearProblem (sprand (11000 , 11000 , 0.5 ), zeros (11000 ))
3232solve (prob)
3333
34-
35-
3634@static if VERSION >= v " v1.7-"
3735 # Test inference
3836 A = rand (4 , 4 )
0 commit comments