Skip to content

Commit 884d7f3

Browse files
authored
smaller sublibrary of SDE.jl and move away from extension (#256)
* move to smaller sublibrary of StochasticDiffEq and move away from extension * add changelog
1 parent 0a6bd5f commit 884d7f3

8 files changed

Lines changed: 471 additions & 496 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# v3.17
2+
3+
- `CoupledSDEs` (along with `diffusion_matrix` and related utilities) is now part of the core package instead of living behind the `StochasticSystemsBase` package extension. Users no longer need to load `StochasticDiffEq` to construct or use `CoupledSDEs`, and `Base.get_extension` is no longer required to access `diffusion_matrix`.
4+
- The `StochasticDiffEq` dependency has been replaced with the smaller `StochasticDiffEqHighOrder` sublibrary, reducing load time and dependency surface for users of `CoupledSDEs`. Compile time of `DynamicalSystemsBase` increases slightly (about 2.5s to 3s) in exchange.
5+
16
# v3.16
27

38
- `reinit!(ds::CoupledSDEs)` now accepts a `seed::UInt64` keyword that re-seeds the noise process random number generator. The default is `rand(UInt64)`, so each `reinit!` produces a fresh, independent noise realization unless an explicit seed is given.

Project.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DynamicalSystemsBase"
22
uuid = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"
33
repo = "https://github.com/JuliaDynamics/DynamicalSystemsBase.jl.git"
4-
version = "3.16.0"
4+
version = "3.17.0"
55

66
[deps]
77
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
@@ -14,14 +14,9 @@ SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1414
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1515
StateSpaceSets = "40b095a5-5852-4c12-98c7-d43bf788e795"
1616
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
17+
StochasticDiffEqHighOrder = "0520c28c-50fd-4d16-9c96-902fc80b3bab"
1718
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1819

19-
[weakdeps]
20-
StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
21-
22-
[extensions]
23-
StochasticSystemsBase = "StochasticDiffEq"
24-
2520
[compat]
2621
ForwardDiff = "0.10, 1"
2722
OrdinaryDiffEqTsit5 = "2"
@@ -30,6 +25,6 @@ Roots = "2, 3"
3025
SciMLBase = "3"
3126
StateSpaceSets = "2.5"
3227
Statistics = "1"
33-
StochasticDiffEq = "7"
28+
StochasticDiffEqHighOrder = "2"
3429
SymbolicIndexingInterface = "0.3.4"
3530
julia = "1.10"

docs/make.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
cd(@__DIR__)
22

33
using DynamicalSystemsBase
4-
using StochasticDiffEq, DiffEqNoiseProcess # to enable extention
5-
# We need this because Documenter doesn't know where to get the docstring from otherwise
6-
StochasticSystemsBase = Base.get_extension(DynamicalSystemsBase, :StochasticSystemsBase)
4+
using StochasticDiffEq, DiffEqNoiseProcess
75

86
pages = [
97
"index.md",
@@ -20,5 +18,5 @@ include("build_docs_with_style.jl")
2018

2119
build_docs_with_style(
2220
pages,
23-
DynamicalSystemsBase, SciMLBase, StateSpaceSets, StochasticSystemsBase
21+
DynamicalSystemsBase, SciMLBase, StateSpaceSets
2422
)

ext/StochasticSystemsBase.jl

Lines changed: 0 additions & 19 deletions
This file was deleted.

ext/src/CoupledSDEs.jl

Lines changed: 0 additions & 315 deletions
This file was deleted.

0 commit comments

Comments
 (0)