Skip to content

Commit 96e759c

Browse files
Update test/sdesystem.jl
Co-authored-by: Christopher Rackauckas <[email protected]>
1 parent bfd7672 commit 96e759c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ end
575575
probmod = SDEProblem(demod,u0modmap,(0.0,1.0),parammap)
576576

577577
ensemble_probmod = EnsembleProblem(probmod;
578-
output_func = (sol,i) -> (h(sol[end][1])*sol[end][2]/θ0,false), # first component is x
578+
output_func = (sol,i) -> (h(sol[x,end])*sol[θ,end]/θ0,false),
579579
prob_func = prob_func
580580
)
581581

0 commit comments

Comments
 (0)