@@ -28,7 +28,7 @@ timestep_mean(sim, ::Colon) = timeseries_steps_mean(sim)
2828function timestep_median (sim, i)
2929 arr = componentwise_vectors_timestep (sim, i)
3030 if typeof (first (arr)) <: AbstractArray
31- return reshape ([median (x) for x in arr], size (sim. u[1 ][i])... )
31+ return reshape ([median (x) for x in arr], size (sim. u[1 ]. u [i])... )
3232 else
3333 return median (arr)
3434 end
@@ -37,7 +37,7 @@ timestep_median(sim, ::Colon) = timeseries_steps_median(sim)
3737function timestep_quantile (sim, q, i)
3838 arr = componentwise_vectors_timestep (sim, i)
3939 if typeof (first (arr)) <: AbstractArray
40- return reshape ([quantile (x, q) for x in arr], size (sim. u[1 ][i])... )
40+ return reshape ([quantile (x, q) for x in arr], size (sim. u[1 ]. u [i])... )
4141 else
4242 return quantile (arr, q)
4343 end
@@ -97,15 +97,15 @@ timepoint_mean(sim, t) = componentwise_mean(get_timepoint(sim, t))
9797function timepoint_median (sim, t)
9898 arr = componentwise_vectors_timepoint (sim, t)
9999 if typeof (first (arr)) <: AbstractArray
100- return reshape ([median (x) for x in arr], size (sim. u[1 ][1 ])... )
100+ return reshape ([median (x) for x in arr], size (sim. u[1 ]. u [1 ])... )
101101 else
102102 return median (arr)
103103 end
104104end
105105function timepoint_quantile (sim, q, t)
106106 arr = componentwise_vectors_timepoint (sim, t)
107107 if typeof (first (arr)) <: AbstractArray
108- return reshape ([quantile (x, q) for x in arr], size (sim. u[1 ][1 ])... )
108+ return reshape ([quantile (x, q) for x in arr], size (sim. u[1 ]. u [1 ])... )
109109 else
110110 return quantile (arr, q)
111111 end
@@ -122,7 +122,7 @@ function timepoint_weighted_meancov(sim, W, t1, t2)
122122end
123123
124124function SciMLBase. EnsembleSummary (sim:: SciMLBase.AbstractEnsembleSolution{T, N} ,
125- t = sim. u[1 ]. t; quantiles = [0.05 , 0.95 ]) where {T, N}
125+ t = sim. u[1 ]. t; quantiles = [0.05 , 0.95 ]) where {T, N}
126126 if sim. u[1 ] isa SciMLSolution
127127 m, v = timeseries_point_meanvar (sim, t)
128128 med = timeseries_point_median (sim, t)
0 commit comments