Skip to content

Commit efa1f08

Browse files
Remove Julia v1.9 get_extension compatibility code
Since all SciML packages now require Julia v1.10+, we can remove the compatibility checks for `isdefined(Base, :get_extension)` as package extensions are available in all supported Julia versions. This removes unnecessary version checks in extension loading code.
1 parent 3713aa9 commit efa1f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/PreallocationToolsReverseDiffExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module PreallocationToolsReverseDiffExt
22

33
using PreallocationTools
4-
isdefined(Base, :get_extension) ? (import ReverseDiff) : (import ..ReverseDiff)
4+
import ReverseDiff
55

66
# PreallocationTools https://github.com/SciML/PreallocationTools.jl/issues/39
77
function Base.getindex(b::PreallocationTools.LazyBufferCache,

0 commit comments

Comments
 (0)