We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad3ae08 + 16ee473 commit a418254Copy full SHA for a418254
ext/PreallocationToolsReverseDiffExt.jl
@@ -1,7 +1,7 @@
1
module PreallocationToolsReverseDiffExt
2
3
using PreallocationTools
4
-import ReverseDiff
+isdefined(Base, :get_extension) ? (import ReverseDiff) : (import ..ReverseDiff)
5
6
# PreallocationTools https://github.com/SciML/PreallocationTools.jl/issues/39
7
function Base.getindex(b::PreallocationTools.LazyBufferCache, u::ReverseDiff.TrackedArray)
0 commit comments