Skip to content

Commit 9bb76a6

Browse files
committed
fix: remove unused deps
1 parent a959181 commit 9bb76a6

File tree

3 files changed

+15
-26
lines changed

3 files changed

+15
-26
lines changed

Project.toml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,29 @@
11
name = "DiffEqCallbacks"
22
uuid = "459566f4-90b8-5000-8ac3-15dfb0a30def"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "3.9.1"
4+
version = "4.0.0"
55

66
[deps]
77
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
88
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
9-
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
109
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
1110
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1211
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
13-
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
14-
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
1512
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
1613
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
1714
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1815
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
1916

20-
[weakdeps]
21-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
22-
OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
23-
Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
24-
2517
[compat]
2618
Aqua = "0.8"
2719
DataInterpolations = "4.6"
2820
DataStructures = "0.18.13"
2921
DiffEqBase = "6.154"
30-
ForwardDiff = "0.10.36"
3122
Functors = "0.4"
3223
LinearAlgebra = "1.10"
3324
Markdown = "1.10"
34-
NonlinearSolve = "3.7.2"
3525
ODEProblemLibrary = "0.1.5"
3626
OrdinaryDiffEq = "6.88"
37-
OrdinaryDiffEqCore = "1"
38-
Parameters = "0.12"
3927
QuadGK = "2.9"
4028
RecipesBase = "1.3.4"
4129
RecursiveArrayTools = "3.9"

src/DiffEqCallbacks.jl

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
module DiffEqCallbacks
22

3-
using DiffEqBase, RecursiveArrayTools, DataStructures, RecipesBase, LinearAlgebra,
4-
StaticArraysCore, NonlinearSolve, ForwardDiff, Functors
5-
6-
import Base.Iterators
7-
8-
using Markdown
9-
10-
using Parameters: @unpack
11-
12-
import SciMLBase
13-
14-
using DiffEqBase: get_tstops, get_tstops_array, get_tstops_max
3+
using DataStructures: DataStructures, BinaryMaxHeap, BinaryMinHeap
4+
using DiffEqBase: DiffEqBase, get_tstops, get_tstops_array, get_tstops_max
5+
using Functors: fmap
6+
using LinearAlgebra: LinearAlgebra, adjoint, axpy!, copyto!
7+
using Markdown: @doc_str
8+
using RecipesBase: @recipe
9+
using RecursiveArrayTools: RecursiveArrayTools, DiffEqArray, copyat_or_push!
10+
using SciMLBase: SciMLBase, CallbackSet, DiscreteCallback, NonlinearFunction,
11+
NonlinearLeastSquaresProblem, NonlinearProblem, RODEProblem,
12+
ReturnCode, SDEProblem, add_tstop!, check_error, get_du,
13+
get_proposed_dt, get_tmp_cache, init, reinit!,
14+
set_proposed_dt!, solve!, terminate!, u_modified!
15+
using StaticArraysCore: StaticArraysCore
1516

1617
include("functor_helpers.jl")
1718
include("autoabstol.jl")

src/iterative_and_periodic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function (S::PeriodicCallbackAffect)(integrator)
8989
end
9090

9191
function add_next_tstop!(integrator, S)
92-
@unpack Δt, t0, index = S
92+
(; Δt, t0, index) = S
9393

9494
# Schedule next call to `f` using `add_tstops!`, but be careful not to keep integrating forever
9595
tnew = t0[] + (index[] + 1) * Δt

0 commit comments

Comments
 (0)