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 fb11a9c commit 2a9a3f7Copy full SHA for 2a9a3f7
test/forward.jl
@@ -148,6 +148,18 @@ end
148
end
149
150
151
+@testset "types in tuples" begin
152
+ function foo(a)
153
+ tup = (a, 2a, Int)
154
+ return tup[2]
155
+ end
156
+
157
+ let var"'" = Diffractor.PrimeDerivativeFwd
158
+ @test foo'(100.0) == 2.0
159
160
+end
161
162
163
@testset "taylor_compatible" begin
164
taylor_compatible = Diffractor.taylor_compatible
165
0 commit comments