Skip to content

Commit 0dd11d3

Browse files
Update test/weak_convergence/W2Ito1.jl
1 parent ed21ce8 commit 0dd11d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/weak_convergence/W2Ito1.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ h3(z) = z^2 # but apply it only to u[1]
208208

209209
prob = SDEProblem(f3!, g3!, u₀, tspan, noise_rate_prototype=zeros(2, 2))
210210
ensemble_prob = EnsembleProblem(prob;
211-
output_func=(sol, i) -> (h3(sol[end][1]), false),
211+
output_func=(sol, i) -> (h3(sol.u[end][1]), false),
212212
prob_func=prob_func
213213
)
214214

0 commit comments

Comments
 (0)