Skip to content

Commit aaab886

Browse files
Update RecursiveArrayToolsZygoteExt.jl
1 parent 2c6a9cd commit aaab886

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

ext/RecursiveArrayToolsZygoteExt.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ module RecursiveArrayToolsZygoteExt
22

33
using RecursiveArrayTools
44

5-
using Zygote
6-
using Zygote: FillArrays, ChainRulesCore, literal_getproperty, @adjoint
7-
else
8-
using ..Zygote
9-
using ..Zygote: FillArrays, ChainRulesCore, literal_getproperty, @adjoint
10-
end
5+
using Zygote
6+
using Zygote: FillArrays, ChainRulesCore, literal_getproperty, @adjoint
7+
118

129
# Define a new species of projection operator for this type:
1310
# ChainRulesCore.ProjectTo(x::VectorOfArray) = ChainRulesCore.ProjectTo{VectorOfArray}()

0 commit comments

Comments
 (0)