Skip to content

Commit 8850e1d

Browse files
DhairyaLGandhiAayushSabharwal
authored andcommitted
test: order in first case too
1 parent cc9a7d5 commit 8850e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/downstream/observables_autodiff.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sol = solve(prob, Tsit5())
3434
sum(sol[sys.w])
3535
end
3636
du_ = [1.0, 1.0, 1.0, 0.0]
37-
du = [du_ for _ in sol.u]
37+
du = [du_ for _ in sol[[D(x), x, y, z]]]
3838
@test du == gs.u
3939

4040
# Observable in a vector

0 commit comments

Comments
 (0)