Skip to content

Commit

Permalink
Remove Requires.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Aug 10, 2024
1 parent 27f31db commit c716a03
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/FiniteDiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Fast non-allocating calculations of gradients, Jacobians, and Hessians with spar
"""
module FiniteDiff

using LinearAlgebra, SparseArrays, ArrayInterface, Requires
using LinearAlgebra, SparseArrays, ArrayInterface

import Base: resize!

Expand Down Expand Up @@ -41,18 +41,4 @@ include("gradients.jl")
include("jacobians.jl")
include("hessians.jl")

if !isdefined(Base,:get_extension)
using StaticArrays
include("../ext/FiniteDiffStaticArraysExt.jl")
using Requires
function __init__()
@require BandedMatrices="aae01518-5342-5314-be14-df237901396f" begin
include("../ext/FiniteDiffBandedMatricesExt.jl")
end
@require BlockBandedMatrices="ffab5731-97b5-5995-9138-79e8c1846df0" begin
include("../ext/FiniteDiffBlockBandedMatricesExt.jl")
end
end
end

end # module

0 comments on commit c716a03

Please sign in to comment.