Skip to content
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

SROCK2() not working with NoiseWrapper #505

Open
axsk opened this issue Sep 29, 2022 · 1 comment · May be fixed by #507
Open

SROCK2() not working with NoiseWrapper #505

axsk opened this issue Sep 29, 2022 · 1 comment · May be fixed by #507

Comments

@axsk
Copy link
Contributor

axsk commented Sep 29, 2022

In the case of non-diagonal noise SROCK2() is not working with a W::NoiseWrapper noise as that has no W.rng field, conflicting with

vec_χ .= 1//2 .+ oftype(W.dW, rand(W.rng, length(W.dW)))

@axsk
Copy link
Contributor Author

axsk commented Sep 30, 2022

When fixing this maybe it's possible using rand! to avoid extra allocation?

axsk added a commit to axsk/StochasticDiffEq.jl that referenced this issue Sep 30, 2022
@axsk axsk linked a pull request Sep 30, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant