Skip to content

Commit

Permalink
add CoupledSDEs(ds::CoupledSDEs, diffeq) method (#231)
Browse files Browse the repository at this point in the history
* add `CoupledSDEs(ds::CoupledSDEs, diffeq)` method

* encrease patch number
  • Loading branch information
oameye authored Jan 2, 2025
1 parent 93a84b7 commit 6fb6fff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DynamicalSystemsBase"
uuid = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"
repo = "https://github.com/JuliaDynamics/DynamicalSystemsBase.jl.git"
version = "3.13.0"
version = "3.13.1"

[deps]
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand Down
2 changes: 2 additions & 0 deletions ext/src/CoupledSDEs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ function DynamicalSystemsBase.CoupledSDEs(
integ, deepcopy(prob.p), diffeq, noise_type
)
end
# This preserves the referrenced MTK system and the originally passed diffeq kwargs
CoupledSDEs(ds::CoupledSDEs, diffeq) = CoupledSDEs(SDEProblem(ds), merge(ds.diffeq, diffeq))

"""
CoupledSDEs(ds::CoupledODEs, p; kwargs...)
Expand Down

0 comments on commit 6fb6fff

Please sign in to comment.