Skip to content

Commit 4e21a07

Browse files
format
1 parent 3a8f6ba commit 4e21a07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/odesystem.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,10 @@ prob = ODEProblem(sys, [], (0, 1.0))
467467
sol = solve(prob, Tsit5())
468468
@test sol[2x[1] + 3x[3] + norm(x)]
469469
2sol[x[1]] + 3sol[x[3]] + sol[norm(x)]
470-
@test sol[x .+ [y, 2y, 3y]] map((x...)->[x...],
471-
map((x,y)->x[1].+y,sol[x],sol[y]),
472-
map((x,y)->x[2].+2y,sol[x],sol[y]),
473-
map((x,y)->x[3].+3y,sol[x],sol[y]))
470+
@test sol[x .+ [y, 2y, 3y]] map((x...) -> [x...],
471+
map((x, y) -> x[1] .+ y, sol[x], sol[y]),
472+
map((x, y) -> x[2] .+ 2y, sol[x], sol[y]),
473+
map((x, y) -> x[3] .+ 3y, sol[x], sol[y]))
474474

475475
# Mixed Difference Differential equations
476476
@parameters t a b c d

0 commit comments

Comments
 (0)