Skip to content

Commit 9d37f1a

Browse files
committed
use dual_prob
1 parent f1a1931 commit 9d37f1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/nopre/jet.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ 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(prob)
127+
dual_cache = init(dual_prob)
128128
ext = Base.get_extension(LinearSolve, :LinearSolveForwardDiffExt)
129129
JET.@test_opt ext.linearsolve_dual_solution(
130-
[1.0, 1.0, 1.0], [[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]], dual_cache )
130+
[1.0, 1.0, 1.0], [[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]], dual_cache)
131131
end

0 commit comments

Comments
 (0)