Skip to content

Commit 30385ac

Browse files
committed
separate out Zygote test
1 parent 98c7658 commit 30385ac

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/basekernels/matern.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@
2020

2121
# Standardised tests.
2222
TestUtils.test_interface(k, Float64)
23-
test_ADs(() -> MaternKernel(; nu=ν))
23+
test_ADs(() -> MaternKernel(; nu=ν); ADs=[:ForwardDiff, :ReverseDiff])
24+
try
25+
test_ADs(() -> MaternKernel(; nu=ν); ADs=[:Zygote])
26+
catch
27+
@test_broken "MaternKernel <-> Zygote AD test is broken"
28+
end
29+
2430
test_params(k, ([ν],))
2531
end
2632
@testset "Matern32Kernel" begin

0 commit comments

Comments
 (0)