Skip to content

Commit

Permalink
Merge branch 'master' into fix-periodic
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace authored Feb 6, 2024
2 parents c15d095 + 9a2f7bb commit b1a0b82
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "KernelFunctions"
uuid = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
version = "0.10.59"
version = "0.10.60"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand Down
1 change: 1 addition & 0 deletions src/chainrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ function ChainRulesCore.rrule(
return d, SqMahalanobis_pullback

Check warning on line 241 in src/chainrules.jl

View check run for this annotation

Codecov / codecov/patch

src/chainrules.jl#L241

Added line #L241 was not covered by tests
end


## Reverse Rules for matrix wrappers

function ChainRulesCore.rrule(::Type{<:ColVecs}, X::AbstractMatrix)
Expand Down
2 changes: 0 additions & 2 deletions test/chainrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
x = rand(rng, 5)
y = rand(rng, 5)
r = rand(rng, 5)
Q = Matrix(Cholesky(rand(rng, 5, 5), 'U', 0))
@assert isposdef(Q)

compare_gradient(:Zygote, [x, y]) do xy
Euclidean()(xy[1], xy[2])
Expand Down

0 comments on commit b1a0b82

Please sign in to comment.