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 750591b commit 660dc04Copy full SHA for 660dc04
test/runtests.jl
@@ -47,7 +47,6 @@ for (M, f, arity) in DiffRules.diffrules()
47
end
48
49
elseif arity == 3
50
- #=
51
@test DiffRules.hasdiffrule(M, f, 3)
52
derivs = DiffRules.diffrule(M, f, :foo, :bar, :goo)
53
@eval begin
@@ -63,7 +62,6 @@ for (M, f, arity) in DiffRules.diffrules()
63
62
@test isapprox(dz, finitediff(z -> $M.$f(foo, bar, z), goo), rtol=0.05)
64
65
66
- =#
67
68
69
@@ -82,7 +80,6 @@ for xtype in [:Float64, :BigFloat, :Int64]
82
80
83
81
84
# Test ifelse separately as first argument is boolean
85
-#=
86
@test DiffRules.hasdiffrule(:Base, :ifelse, 3)
87
derivs = DiffRules.diffrule(:Base, :ifelse, :foo, :bar, :goo)
88
for cond in [true, false]
@@ -94,4 +91,4 @@ for cond in [true, false]
94
91
@test isapprox(dz, finitediff(z -> ifelse(foo, bar, z), goo), rtol=0.05)
95
92
96
93
97
-=#
+
0 commit comments