Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DiffEqNoiseProcess"
uuid = "77a26b50-5914-5dd7-bc55-306e6241c503"
version = "5.26.0"
version = "5.26.1"
authors = ["Chris Rackauckas <[email protected]>"]

[deps]
Expand Down
5 changes: 2 additions & 3 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Solve a noise problem by simulating the noise process over the specified time sp
- `dt`: The time step size (required, no default)

## Keyword Arguments
- `seed`: Random seed for reproducible results
- `seed`: Random seed for reproducible results. If `0` (the default), will use the RNG
from the `NoiseProcess` or `NoiseTransport`.
- Additional keyword arguments are passed to the underlying solver

## Returns
Expand All @@ -33,8 +34,6 @@ function DiffEqBase.__solve(
if W isa Union{NoiseProcess, NoiseTransport}
if prob.seed != 0
Random.seed!(W.rng, prob.seed)
else
Random.seed!(W.rng, rand(UInt64))
end
end
if W.reset
Expand Down
Loading