Skip to content

Commit 0a3f62c

Browse files
committed
whoops, missed a line
1 parent bb403dd commit 0a3f62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/sdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function generate_diffusion_function(sys::SDESystem, dvs = unknowns(sys),
259259
eqs = delay_to_function(sys, eqs)
260260
end
261261
if eqs isa AbstractMatrix && __num_isdiag_noise(eqs)
262-
eqs = diag(eqs)
262+
eqs = __get_num_diag_noise(eqs)
263263
end
264264
u = map(x -> time_varying_as_func(value(x), sys), dvs)
265265
p = if has_index_cache(sys) && get_index_cache(sys) !== nothing

0 commit comments

Comments
 (0)