This reseeds a NoiseTransport when solving an AbstractRODEProblem with this new type of noise recently added to DiffEqNoiseProcess.jl in https://github.com/SciML/DiffEqNoiseProcess.jl/pull/116. A NoiseTransport depends on a random variable/vector which needs a new sample at each different solve.
Notice I moved the reinit! part to after reseed. This doesn't make much difference in the case of a NoiseProcess since a new sample is drawn at each time step. But is necessary in the case of a NoiseTransport since a new sample is only drawn at the beginning of each solve.
This PR requires a new tag of DiffEqNoiseProcess.jl so the NoiseTransport type is available.
This reseeds a
NoiseTransport
when solving anAbstractRODEProblem
with this new type of noise recently added toDiffEqNoiseProcess.jl
in https://github.com/SciML/DiffEqNoiseProcess.jl/pull/116. ANoiseTransport
depends on a random variable/vector which needs a new sample at each different solve.Notice I moved the
reinit!
part to afterreseed
. This doesn't make much difference in the case of aNoiseProcess
since a new sample is drawn at each time step. But is necessary in the case of aNoiseTransport
since a new sample is only drawn at the beginning of each solve.This PR requires a new tag of
DiffEqNoiseProcess.jl
so theNoiseTransport
type is available.