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 79
79
end
80
80
81
81
@testset " UMFPACK Factorization" begin
82
- A1 = A / 1
82
+ A1 = sparse ( A / 1 )
83
83
b1 = rand (n)
84
84
x1 = zero (b)
85
- A2 = A / 2
85
+ A2 = sparse ( A / 2 )
86
86
b2 = rand (n)
87
87
x2 = zero (b)
88
88
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)
91
91
test_interface (UMFPACKFactorization (), prob1, prob2)
92
92
test_interface (UMFPACKFactorization (reuse_symbolic = false ), prob1, prob2)
93
93
@@ -102,15 +102,15 @@ end
102
102
end
103
103
104
104
@testset " KLU Factorization" begin
105
- A1 = A / 1
105
+ A1 = sparse ( A / 1 )
106
106
b1 = rand (n)
107
107
x1 = zero (b)
108
- A2 = A / 2
108
+ A2 = sparse ( A / 2 )
109
109
b2 = rand (n)
110
110
x2 = zero (b)
111
111
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)
114
114
test_interface (KLUFactorization (), prob1, prob2)
115
115
test_interface (KLUFactorization (reuse_symbolic = false ), prob1, prob2)
116
116
You can’t perform that action at this time.
0 commit comments