Skip to content

Commit cba9dae

Browse files
committed
Drop ChainRulesCore v0.9 support, use NoTangent()
1 parent c942918 commit cba9dae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WoodburyMatrices = "efce3f68-66dc-5838-9240-27a6d6f5f9b6"
1717

1818
[compat]
1919
AxisAlgorithms = "0.3, 1"
20-
ChainRulesCore = "0.9, 0.10"
20+
ChainRulesCore = "0.10"
2121
OffsetArrays = "0.10, 0.11, 1.0.1"
2222
Ratios = "0.3, 0.4"
2323
Requires = "1.1"

src/chainrules/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ChainRulesCore.jl `rrule` for integration with automatic differentiation librari
66
function ChainRulesCore.rrule(itp::AbstractInterpolation, x...)
77
y = itp(x...)
88
function pullback(Δy)
9-
(ChainRulesCore.DoesNotExist(), Δy * Interpolations.gradient(itp, x...))
9+
(ChainRulesCore.NoTangent(), Δy * Interpolations.gradient(itp, x...))
1010
end
1111
y, pullback
1212
end

0 commit comments

Comments
 (0)