Skip to content

Commit 13fbb22

Browse files
authored
Merge pull request #326 from JuliaSymbolics/myb/compat
ChainRulesCore 1
2 parents f2cb76c + 90cd2c0 commit 13fbb22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SymbolicUtils"
22
uuid = "d1185830-fcd6-423d-90d6-eec64667417b"
33
authors = ["Shashi Gowda"]
4-
version = "0.13.2"
4+
version = "0.13.3"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
@@ -24,7 +24,7 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
2424

2525
[compat]
2626
AbstractTrees = "0.3"
27-
ChainRulesCore = "0.9, 0.10, 1"
27+
ChainRulesCore = "1"
2828
Combinatorics = "1.0"
2929
ConstructionBase = "1.1"
3030
DataStructures = "0.18"

src/adjoints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function rrule(::typeof(Code.create_array), A::Type{<:AbstractArray}, T, u::Val{
66
y = Code.create_array(A, T, u, d, elems...)
77
function create_array_pullback(Δ)
88
dx = Δ
9-
(NO_FIELDS, DoesNotExist(), DoesNotExist(), DoesNotExist(), DoesNotExist(), dx..., ntuple(_ -> DoesNotExist(), length(elems) - prod(dims) + j)...)
9+
(ZeroTangent(), NoTangent(), NoTangent(), NoTangent(), NoTangent(), dx..., ntuple(_ -> NoTangent(), length(elems) - prod(dims) + j)...)
1010
end
1111
y, create_array_pullback
1212
end

0 commit comments

Comments
 (0)