Skip to content

Commit c716a03

Browse files
Remove Requires.jl
1 parent 27f31db commit c716a03

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/FiniteDiff.jl

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Fast non-allocating calculations of gradients, Jacobians, and Hessians with spar
55
"""
66
module FiniteDiff
77

8-
using LinearAlgebra, SparseArrays, ArrayInterface, Requires
8+
using LinearAlgebra, SparseArrays, ArrayInterface
99

1010
import Base: resize!
1111

@@ -41,18 +41,4 @@ include("gradients.jl")
4141
include("jacobians.jl")
4242
include("hessians.jl")
4343

44-
if !isdefined(Base,:get_extension)
45-
using StaticArrays
46-
include("../ext/FiniteDiffStaticArraysExt.jl")
47-
using Requires
48-
function __init__()
49-
@require BandedMatrices="aae01518-5342-5314-be14-df237901396f" begin
50-
include("../ext/FiniteDiffBandedMatricesExt.jl")
51-
end
52-
@require BlockBandedMatrices="ffab5731-97b5-5995-9138-79e8c1846df0" begin
53-
include("../ext/FiniteDiffBlockBandedMatricesExt.jl")
54-
end
55-
end
56-
end
57-
5844
end # module

0 commit comments

Comments
 (0)