Skip to content

Commit d5c2d4c

Browse files
fix test
1 parent a4df324 commit d5c2d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/forwarddiff_dual_detection.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ p_possibilities = [ForwardDiff.Dual(2.0), (ForwardDiff.Dual(2.0), 2.0),
3636
(; x = 2.0, y = [ForwardDiff.Dual(2.0)]), (; x = 2.0, y = [[ForwardDiff.Dual(2.0)]]),
3737
Set([2.0, ForwardDiff.Dual(2.0)]), (SciMLBase.NullParameters(), ForwardDiff.Dual(2.0)),
3838
((), ForwardDiff.Dual(2.0)), ForwardDiff.Dual{Nothing}(ForwardDiff.Dual{MyStruct}(2.0)),
39-
(plot(), ForwardDiff.Dual(2.0)), [(1.0, ForwardDiff.Dual(1.0, (1.0,))), pairs((;))]
39+
(plot(), ForwardDiff.Dual(2.0)), [(1.0, ForwardDiff.Dual(1.0, (1.0,)))]
4040
]
4141

4242
for p in p_possibilities
@@ -162,7 +162,7 @@ for p in p_possibilities_missed
162162
end
163163

164164
p_possibilities_notdual = [
165-
(), (;), [2.0], [2.0, 2], [2.0, (2.0)], [2.0, MyStruct(2.0, 2.0f0)]
165+
(), (;), [2.0], [2.0, 2], [2.0, (2.0)], [2.0, MyStruct(2.0, 2.0f0), pairs((;))]
166166
]
167167

168168
for p in p_possibilities_notdual

0 commit comments

Comments
 (0)