Skip to content

Commit 1f881eb

Browse files
get the sizing correct
1 parent 4f4aa99 commit 1f881eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/odesystem.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,10 @@ sys = structural_simplify(sys)
466466
prob = ODEProblem(sys, [], (0, 1.0))
467467
sol = solve(prob, Tsit5())
468468
@test sol[2x[1] + 3x[3] + norm(x)]
469-
2sol[x[1]] + 3sol[x[3]] .+ vec(mapslices(norm, hcat(sol[x]...), dims = 2))
470-
@test sol[x + [y, 2y, 3y]] sol[x] .+ [sol[y], 2sol[y], 3sol[y]]
469+
2sol[x[1]] + 3sol[x[3]] + sol[norm(x)]
470+
@test sol[x + [y, 2y, 3y]] [sol[x] + sol[y]
471+
sol[x] + 2sol[y]
472+
sol[x] + 3sol[y]]
471473

472474
# Mixed Difference Differential equations
473475
@parameters t a b c d

0 commit comments

Comments
 (0)