Skip to content

Commit 8982d73

Browse files
committed
fix: let StochasticDiffEq auto calculate noise process
1 parent 4afaebb commit 8982d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/problems/sdeproblem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function calculate_noise_and_rate_prototype(sys::System, u0; sparsenoise = false
106106
elseif size(noiseeqs, 2) == 1
107107
# scalar noise
108108
noise_rate_prototype = nothing
109-
noise = WienerProcess(0.0, 0.0, 0.0)
109+
noise = nothing
110110
elseif sparsenoise
111111
I, J, V = findnz(SparseArrays.sparse(noiseeqs))
112112
noise_rate_prototype = SparseArrays.sparse(I, J, zero(eltype(u0)))

0 commit comments

Comments
 (0)