Skip to content

Commit 148b29c

Browse files
authored
also comment out trinary tests
1 parent ead820d commit 148b29c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/runtests.jl

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ for (M, f, arity) in DiffRules.diffrules()
4747
end
4848
end
4949
elseif arity == 3
50+
#=
5051
@test DiffRules.hasdiffrule(M, f, 3)
5152
derivs = DiffRules.diffrule(M, f, :foo, :bar, :goo)
5253
@eval begin
@@ -62,6 +63,7 @@ for (M, f, arity) in DiffRules.diffrules()
6263
@test isapprox(dz, finitediff(z -> $M.$f(foo, bar, z), goo), rtol=0.05)
6364
end
6465
end
66+
=#
6567
end
6668
end
6769

@@ -80,6 +82,7 @@ for xtype in [:Float64, :BigFloat, :Int64]
8082
end
8183

8284
# Test ifelse separately as first argument is boolean
85+
#=
8386
@test DiffRules.hasdiffrule(:Base, :ifelse, 3)
8487
derivs = DiffRules.diffrule(:Base, :ifelse, :foo, :bar, :goo)
8588
for cond in [true, false]
@@ -91,4 +94,4 @@ for cond in [true, false]
9194
@test isapprox(dz, finitediff(z -> ifelse(foo, bar, z), goo), rtol=0.05)
9295
end
9396
end
94-
97+
=#

0 commit comments

Comments
 (0)