Skip to content

Commit 157c8e9

Browse files
committed
make sure JET test uses DualCache
1 parent d122130 commit 157c8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nopre/jet.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ end
124124

125125
@testset "JET Tests for creating Dual solutions" begin
126126
# Make sure there's no runtime dispatch when making solutions of Dual problems
127-
dual_cache = init(dual_prob)
127+
dual_cache = init(dual_prob, LUFactorization())
128128
ext = Base.get_extension(LinearSolve, :LinearSolveForwardDiffExt)
129129
JET.@test_opt ext.linearsolve_dual_solution(
130130
[1.0, 1.0, 1.0], [[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]], dual_cache)

0 commit comments

Comments
 (0)