Skip to content

Commit

Permalink
push broken state (upstream issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixBenning committed Jun 5, 2023
1 parent c9fc114 commit c22c92e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/diffKernel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
]
k = EnableDiff(k1)
for x in [0, 1, -1, 42]
# correlation with self should be positive
@test k((x, partial(1)), (x, partial(1))) > 0 skip = true
# correlation with self should be positive
## This fails for Matern and RationalQuadraticKernel
# because its implementation branches on x == y resulting in a zero derivative
# (cf. https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/issues/517)
@test k((x, partial(1)), (x, partial(1))) > 0

# the slope should be positively correlated with a point further down
@test k(
Expand Down

0 comments on commit c22c92e

Please sign in to comment.