Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ version = "2.23.1"
[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand All @@ -24,7 +23,6 @@ FiniteDiffStaticArraysExt = "StaticArrays"
ArrayInterface = "7"
BandedMatrices = "1"
BlockBandedMatrices = "0.13"
Requires = "1.0"
Setfield = "1"
StaticArrays = "1.0"
julia = "1.10"
Expand Down
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