Skip to content

Commit

Permalink
remove double collect
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bossart committed Mar 15, 2024
1 parent 21e9e35 commit 01c4cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/simulation_results.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ end

function _post_proc_state_series(solution, ix::Int, dt::Float64)
ts = collect(range(0; stop = solution.t[end], step = dt))
state = solution(collect(ts); idxs = ix)
state = solution(ts; idxs = ix)
return ts, state.u
end

Expand Down

0 comments on commit 01c4cf0

Please sign in to comment.