Skip to content

Commit 4f80de9

Browse files
Update remake_tests.jl
1 parent d533320 commit 4f80de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/remake_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ for prob in deepcopy(probs)
249249
function fakeloss!(p)
250250
prob2 = @inferred baseType remake(prob; p = [:a => p])
251251
@test eltype(prob2.p) <: ForwardDiff.Dual
252-
return prob2.ps[:a]
252+
return prob2.p[:a]
253253
end
254254
ForwardDiff.derivative(fakeloss!, 1.0)
255255
end

0 commit comments

Comments
 (0)