@@ -198,24 +198,22 @@ end
198
198
test_interface (SparspakFactorization (), prob1, prob2)
199
199
end
200
200
201
- if VERSION >= v " 1.9"
202
- @testset " FastLAPACK Factorizations" begin
203
- A1 = A / 1
204
- b1 = rand (n)
205
- x1 = zero (b)
206
- A2 = A / 2
207
- b2 = rand (n)
208
- x2 = zero (b)
201
+ @testset " FastLAPACK Factorizations" begin
202
+ A1 = A / 1
203
+ b1 = rand (n)
204
+ x1 = zero (b)
205
+ A2 = A / 2
206
+ b2 = rand (n)
207
+ x2 = zero (b)
209
208
210
- prob1 = LinearProblem (A1, b1; u0 = x1)
211
- prob2 = LinearProblem (A2, b2; u0 = x2)
212
- test_interface (LinearSolve. FastLUFactorization (), prob1, prob2)
213
- test_interface (LinearSolve. FastQRFactorization (), prob1, prob2)
209
+ prob1 = LinearProblem (A1, b1; u0 = x1)
210
+ prob2 = LinearProblem (A2, b2; u0 = x2)
211
+ test_interface (LinearSolve. FastLUFactorization (), prob1, prob2)
212
+ test_interface (LinearSolve. FastQRFactorization (), prob1, prob2)
214
213
215
- # TODO : Resizing tests. Upstream doesn't currently support it.
216
- # Need to be absolutely certain we never segfault with incorrect
217
- # ws sizes.
218
- end
214
+ # TODO : Resizing tests. Upstream doesn't currently support it.
215
+ # Need to be absolutely certain we never segfault with incorrect
216
+ # ws sizes.
219
217
end
220
218
221
219
test_algs = [
@@ -226,15 +224,15 @@ end
226
224
LinearSolve. defaultalg (prob1. A, prob1. b)
227
225
]
228
226
229
- if VERSION >= v " 1.9 " && LinearSolve. usemkl
227
+ if LinearSolve. usemkl
230
228
push! (test_algs, MKLLUFactorization ())
231
229
end
232
230
233
231
@testset " Concrete Factorizations" begin
234
232
for alg in test_algs
235
233
@testset " $alg " begin
236
234
test_interface (alg, prob1, prob2)
237
- VERSION >= v " 1.9 " && test_interface (alg, prob3, prob4)
235
+ test_interface (alg, prob3, prob4)
238
236
end
239
237
end
240
238
if LinearSolve. appleaccelerate_isavailable ()
0 commit comments