Skip to content

Commit f310b7f

Browse files
fix nopre tests
1 parent f7f9053 commit f310b7f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/default_algs.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
using LinearSolve, RecursiveFactorization, LinearAlgebra, SparseArrays, Test
22

3-
if isempty(VERSION.prerelease)
4-
using JET
5-
end
6-
73
@test LinearSolve.defaultalg(nothing, zeros(3)).alg ===
84
LinearSolve.DefaultAlgorithmChoice.GenericLUFactorization
95
prob = LinearProblem(rand(3, 3), rand(3))

test/nopre/jet.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
using LinearSolve, RecursiveFactorization, LinearAlgebra, SparseArrays, Test
22
using JET
33

4+
A = rand(4, 4)
5+
b = rand(4)
6+
prob = LinearProblem(A, b)
47
JET.@test_opt init(prob, nothing)
58
JET.@test_opt solve(prob, LUFactorization())
69
JET.@test_opt solve(prob, GenericLUFactorization())

0 commit comments

Comments
 (0)