Skip to content

Commit 7a4a5fb

Browse files
Merge pull request #2677 from oscardssmith/os/clean-tests
remove deprecated indexing from test
2 parents 8f1d760 + b123bd6 commit 7a4a5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/interface/mass_matrix_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ end
247247
function _norm_dsol2(alg, prob, prob2; kwargs...)
248248
sol = solve(prob, alg; kwargs...)
249249
sol2 = solve(prob2, alg; kwargs...)
250-
norm(sol[end] .- sol2[end])
250+
norm(sol.u[end] .- sol2.u[end])
251251
end
252252
@testset "Dependent Mass Matrix Tests" for mm in (dependent_M1, dependent_M2)
253253
# test each method for exactness

0 commit comments

Comments
 (0)