Skip to content

Commit f0fa5a1

Browse files
committed
use dual_prob
1 parent 010269e commit f0fa5a1

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
@@ -123,8 +123,8 @@ end
123123

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

0 commit comments

Comments
 (0)