Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Mar 8, 2022
1 parent 8161da2 commit 292b594
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/common_interface/cvode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ sol_idxs = solve(prob, CVODE_Adams(), save_idxs = [1], timeseries_errors = false

@test sol[1, :] == sol_idxs[1, :]

sol = solve(prob, CVODE_Adams(), save_idxs = [1, 2], timeseries_errors = false, calculate_error = false)
@test length(sol[1]) == 2
@test sol[1, :] == sol[1, :]
@test sol[2, :] == sol[2, :]
sol_idxs = solve(prob, CVODE_Adams(), save_idxs = [1, 2], timeseries_errors = false, calculate_error = false)
@test length(sol_idxs[1]) == 2
@test sol[1, :] == sol_idxs[1, :]
@test sol[2, :] == sol_idxs[2, :]

# Test the other function conversions
k = (du, u, p, t) -> du[1] = u[1]
Expand Down

0 comments on commit 292b594

Please sign in to comment.