Skip to content

Commit

Permalink
Merge pull request #599 from AayushSabharwal/as/ensemble-analysis-again
Browse files Browse the repository at this point in the history
fix: fix EnsembleAnalysis methods for RAT v3 (again)
  • Loading branch information
ChrisRackauckas committed Jan 17, 2024
2 parents 4590236 + e29656f commit 8188851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ensemble/ensemble_analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module EnsembleAnalysis
using SciMLBase, Statistics, RecursiveArrayTools, StaticArraysCore

# Getters
get_timestep(sim, i) = (getindex(sol, :, i) for sol in sim)
get_timestep(sim, i) = (sol.u[i] for sol in sim)
get_timepoint(sim, t) = (sol(t) for sol in sim)
function componentwise_vectors_timestep(sim, i)
arr = [get_timestep(sim, i)...]
Expand Down

0 comments on commit 8188851

Please sign in to comment.