Skip to content

Commit 8e3bfc8

Browse files
Merge pull request #189 from JuliaDiff/ChrisRackauckas-patch-1
Remove Requires.jl
2 parents 27f31db + 49d27e1 commit 8e3bfc8

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ version = "2.23.1"
55
[deps]
66
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
8-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
98
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
109
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1110
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
@@ -24,7 +23,6 @@ FiniteDiffStaticArraysExt = "StaticArrays"
2423
ArrayInterface = "7"
2524
BandedMatrices = "1"
2625
BlockBandedMatrices = "0.13"
27-
Requires = "1.0"
2826
Setfield = "1"
2927
StaticArrays = "1.0"
3028
julia = "1.10"

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)