We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4df324 commit d5c2d4cCopy full SHA for d5c2d4c
test/forwarddiff_dual_detection.jl
@@ -36,7 +36,7 @@ p_possibilities = [ForwardDiff.Dual(2.0), (ForwardDiff.Dual(2.0), 2.0),
36
(; x = 2.0, y = [ForwardDiff.Dual(2.0)]), (; x = 2.0, y = [[ForwardDiff.Dual(2.0)]]),
37
Set([2.0, ForwardDiff.Dual(2.0)]), (SciMLBase.NullParameters(), ForwardDiff.Dual(2.0)),
38
((), 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((;))]
+ (plot(), ForwardDiff.Dual(2.0)), [(1.0, ForwardDiff.Dual(1.0, (1.0,)))]
40
]
41
42
for p in p_possibilities
@@ -162,7 +162,7 @@ for p in p_possibilities_missed
162
end
163
164
p_possibilities_notdual = [
165
- (), (;), [2.0], [2.0, 2], [2.0, (2.0)], [2.0, MyStruct(2.0, 2.0f0)]
+ (), (;), [2.0], [2.0, 2], [2.0, (2.0)], [2.0, MyStruct(2.0, 2.0f0), pairs((;))]
166
167
168
for p in p_possibilities_notdual
0 commit comments