Skip to content

Commit 6e658f0

Browse files
Index the solution better in the test
1 parent d8c46c3 commit 6e658f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ode_appxtrue_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_sol = TestSolution(sol2)
1818
errsol2 = appxtrue(sol4, test_sol)
1919

2020
sol5 = solve(prob, Euler(); dt = 1 // 2^(4))
21-
test_sol = TestSolution(sol2.t, sol2[end])
21+
test_sol = TestSolution(sol2.t, sol2.u[end])
2222
errsol3 = appxtrue(sol5, test_sol)
2323

2424
@test errsol1.errors[:L2] 0.018865798306718855

0 commit comments

Comments
 (0)