Skip to content

Commit c05d7e1

Browse files
committed
deepcopy prob.noise
1 parent 6b63618 commit c05d7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function DiffEqBase.__init(
412412
=#
413413
end
414414
elseif typeof(prob) <: DiffEqBase.AbstractRODEProblem
415-
W = prob.noise
415+
W = deepcopy(prob.noise)
416416
if hasfield(typeof(W),:t) && W.reset
417417
if W.t[end] != t
418418
reinit!(W,t, t0=t)

0 commit comments

Comments
 (0)