File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 7979 end
8080
8181 @testset " UMFPACK Factorization" begin
82- A1 = A / 1
82+ A1 = sparse ( A / 1 )
8383 b1 = rand (n)
8484 x1 = zero (b)
85- A2 = A / 2
85+ A2 = sparse ( A / 2 )
8686 b2 = rand (n)
8787 x2 = zero (b)
8888
89- prob1 = LinearProblem (sparse (A1) , b1; u0 = x1)
90- prob2 = LinearProblem (sparse (A2) , b2; u0 = x2)
89+ prob1 = LinearProblem (A1 , b1; u0 = x1)
90+ prob2 = LinearProblem (A2 , b2; u0 = x2)
9191 test_interface (UMFPACKFactorization (), prob1, prob2)
9292 test_interface (UMFPACKFactorization (reuse_symbolic = false ), prob1, prob2)
9393
@@ -102,15 +102,15 @@ end
102102 end
103103
104104 @testset " KLU Factorization" begin
105- A1 = A / 1
105+ A1 = sparse ( A / 1 )
106106 b1 = rand (n)
107107 x1 = zero (b)
108- A2 = A / 2
108+ A2 = sparse ( A / 2 )
109109 b2 = rand (n)
110110 x2 = zero (b)
111111
112- prob1 = LinearProblem (sparse (A1) , b1; u0 = x1)
113- prob2 = LinearProblem (sparse (A2) , b2; u0 = x2)
112+ prob1 = LinearProblem (A1 , b1; u0 = x1)
113+ prob2 = LinearProblem (A2 , b2; u0 = x2)
114114 test_interface (KLUFactorization (), prob1, prob2)
115115 test_interface (KLUFactorization (reuse_symbolic = false ), prob1, prob2)
116116
You can’t perform that action at this time.
0 commit comments