We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b742b3e commit e41490fCopy full SHA for e41490f
test/forward.jl
@@ -161,6 +161,18 @@ end
161
end
162
163
164
+@testset "types in tuples" begin
165
+ function foo(a)
166
+ tup = (a, 2a, Int)
167
+ return tup[2]
168
+ end
169
+
170
+ let var"'" = Diffractor.PrimeDerivativeFwd
171
+ @test foo'(100.0) == 2.0
172
173
+end
174
175
176
@testset "taylor_compatible" begin
177
taylor_compatible = Diffractor.taylor_compatible
178
0 commit comments