Skip to content

Commit

Permalink
fixup! docs: update documentation with new parameter indexing API and…
Browse files Browse the repository at this point in the history
… semantics
  • Loading branch information
AayushSabharwal committed May 15, 2024
1 parent 44fd6a6 commit 7a8351c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/complete_sii.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ We will also need a timeseries object which will store individual parameter time
one manually here.

```@example param_timeseries
struct MyDiffEqArrau
struct MyDiffEqArray
t::Vector{Float64}
u::Vector{Vector{Float64}}
end
Expand Down Expand Up @@ -416,7 +416,7 @@ sol = ExampleSolution2(
sys,
[i * ones(3) for i in 1:5], # u
collect(0.0:0.25:1.0), # t
[4.2, b_c_timeseries.u[end]..., d_timeseries.u[end]...] # p must contain final values
[4.2, b_c_timeseries.u[end]..., d_timeseries.u[end]...], # p must contain final values
[[2, 3], 4], # p_idxs
ParameterTimeseriesCollection([b_c_timeseries, d_timeseries]) # p_ts
)
Expand Down

0 comments on commit 7a8351c

Please sign in to comment.