We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6347c4 commit d078c4cCopy full SHA for d078c4c
src/solve.jl
@@ -291,7 +291,7 @@ function DiffEqBase.__init(
291
else
292
randElType = uBottomEltypeNoUnits # Strip units and type info
293
if prob.f isa DynamicalSDEFunction
294
- rand_prototype = copy(noise_rate_prototype)
+ rand_prototype = copy(rate_prototype.x[1]) # Noise is a vector of the same size than the number of variables
295
elseif is_diagonal_noise(prob)
296
if u isa SArray
297
rand_prototype = zero(u) # TODO: Array{randElType} for units
0 commit comments