Skip to content

Commit 957320a

Browse files
Bump ChainRulesCore deps (#160)
Co-authored-by: David Widmann <[email protected]>
1 parent c4a32f1 commit 957320a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "AbstractGPs"
22
uuid = "99985d1d-32ba-4be9-9821-2ec096f28918"
33
authors = ["JuliaGaussianProcesses Team"]
4-
version = "0.3.4"
4+
version = "0.3.5"
55

66
[deps]
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -16,7 +16,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1616
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1717

1818
[compat]
19-
ChainRulesCore = "0.9"
19+
ChainRulesCore = "0.10"
2020
Distributions = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25"
2121
FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11"
2222
KernelFunctions = "0.9, 0.10"

src/gp/mean_function.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct ZeroMean{T<:Real} <: MeanFunction end
1010
_map(::ZeroMean{T}, x::AbstractVector) where {T} = zeros(T, length(x))
1111

1212
function ChainRulesCore.rrule(::typeof(_map), m::ZeroMean, x::AbstractVector)
13-
map_ZeroMean_pullback(Δ) = (NO_FIELDS, NO_FIELDS, Zero())
13+
map_ZeroMean_pullback(Δ) = (NoTangent(), NoTangent(), ZeroTangent())
1414
return _map(m, x), map_ZeroMean_pullback
1515
end
1616

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1313
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
1414

1515
[compat]
16-
ChainRulesCore = "0.9"
16+
ChainRulesCore = "0.10"
1717
Distributions = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25"
1818
Documenter = "0.24, 0.25, 0.26"
1919
FillArrays = "0.11"

0 commit comments

Comments
 (0)