Skip to content

Commit 733cfcc

Browse files
committed
revert version branch
1 parent 740dcb5 commit 733cfcc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test/chainrules.jl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@
2121
compare_gradient(:Zygote, [x, y]) do xy
2222
KernelFunctions.Sinus(r)(xy[1], xy[2])
2323
end
24-
if VERSION < v"1.6"
25-
compare_gradient(:ForwardDiff, [Q, x, y]) do Qxy
26-
SqMahalanobis(Qxy[1]; skipchecks=true)(Qxy[2], Qxy[3])
27-
end
28-
else
29-
compare_gradient(:Zygote, [Q, x, y]) do Qxy
30-
SqMahalanobis(Qxy[1])(Qxy[2], Qxy[3])
31-
end
24+
compare_gradient(:Zygote, [Q, x, y]) do Qxy
25+
SqMahalanobis(Qxy[1])(Qxy[2], Qxy[3])
3226
end
3327
end

0 commit comments

Comments
 (0)