Skip to content

Commit f294f7a

Browse files
fix requires import
1 parent dcb894a commit f294f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RecursiveArrayTools.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function ChainRulesCore.rrule(T::Type{<:GPUArraysCore.AbstractGPUArray},
4242
T(xs), ȳ -> (NoTangent(), ȳ)
4343
end
4444

45+
import Requires
4546
@static if !isdefined(Base, :get_extension)
46-
import Requires
4747
function __init__()
4848
Requires.@require Tracker="9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" begin include("../ext/RecursiveArrayToolsTrackerExt.jl") end
4949
end

0 commit comments

Comments
 (0)