Skip to content

Commit b1a0b82

Browse files
authored
Merge branch 'master' into fix-periodic
2 parents c15d095 + 9a2f7bb commit b1a0b82

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "KernelFunctions"
22
uuid = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
3-
version = "0.10.59"
3+
version = "0.10.60"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/chainrules.jl

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ function ChainRulesCore.rrule(
241241
return d, SqMahalanobis_pullback
242242
end
243243

244+
244245
## Reverse Rules for matrix wrappers
245246

246247
function ChainRulesCore.rrule(::Type{<:ColVecs}, X::AbstractMatrix)

test/chainrules.jl

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
x = rand(rng, 5)
44
y = rand(rng, 5)
55
r = rand(rng, 5)
6-
Q = Matrix(Cholesky(rand(rng, 5, 5), 'U', 0))
7-
@assert isposdef(Q)
86

97
compare_gradient(:Zygote, [x, y]) do xy
108
Euclidean()(xy[1], xy[2])

0 commit comments

Comments
 (0)