-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out-of-place CoupledSDEs
erroring with trajectory
#224
Comments
always paste the error please. Regardless, this should have been caught by the test suite. Tests for SDEs need to be increased. |
Full error:
|
The issue disappears when changing the SDE solver to diffeq = (alg = LambaEM(), dt=0.1)
sde_oop = CoupledSDEs(f, zeros(2); covariance=Σ, diffeq=diffeq) So it seems related to the default |
|
Okay thanks! Should we add a note in the docs or a warning in |
I vote no: all efforts should go so that the warning occurs only once and only at the correct source. |
It should be solved now with SciML/StochasticDiffEq.jl#588. |
Describe the bug
Using
trajectory
on aCoupledSDEs
with specifiedcovariance
works for in-place deterministic functions but not for out-of-place. The code below throws the following error:DimensionMismatch: Sizes (Size(2,), Size(2, 2)) of input arrays do not match
Minimal Working Example
Package versions
DynamicalSystemsBase
v3.11.2
StochasticDiffEq
v6.70.0
Julia
v1.10.0
The text was updated successfully, but these errors were encountered: