Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ makedocs(;
"Examples" => [
"examples/DiffEqFlux.md",
"examples/adaptive_control.md",
"examples/coulomb_control.md",
"examples/ODE_jac.md"
],
"API" => "api.md"
Expand Down
5 changes: 0 additions & 5 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@ language for, but without actually needing a modeling language. The main targets
in [DifferentialEquations.jl](https://github.com/SciML/DifferentialEquations.jl) and
[Optim.jl](https://github.com/JuliaNLSolvers/Optim.jl), but anything that requires
flat vectors is fair game.

```@contents
Pages = ["examples/example1.md"]
Depth = 2
```
2 changes: 1 addition & 1 deletion docs/src/indexing_behavior.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ julia> ca[KeepIndex(:b)]
ComponentVector{Int64}(b = [4, 1])
```

Now instead of just returning a plain `Vector`, this returns a `ComponentVector` that keeps the `b` name. Of course, this is still compatible with `view`s, so we could have done `@view ca[KeepIndex(:b)]` if we wanted to retain the view into the origianl.
Now instead of just returning a plain `Vector`, this returns a `ComponentVector` that keeps the `b` name. Of course, this is still compatible with `view`s, so we could have done `@view ca[KeepIndex(:b)]` if we wanted to retain the view into the original.

Similarly, we can use plain indexes like ranges or integers and they will keep the names of any components they capture:

Expand Down
Loading