Skip to content

Commit 7590921

Browse files
committed
rm doctest
1 parent 6780e9c commit 7590921

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/callbacks.jl

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,13 +400,8 @@ Is a (smallish) fixed size vector type with named dimensions.
400400
Its main purpose is to allow named acces to variables in
401401
[`ComponentCondition`](@ref) and [`ComponentAffect`](@ref) functions.
402402
403-
```jldoctest
404-
julia> sv = SymbolicView([1,2,3],(:a,:b,:c))
405-
SymbolicView{3, Vector{Int64}}([1, 2, 3], (:a, :b, :c))
406-
407-
julia> sv[1] == sv[:a]
408-
true
409-
```
403+
I.e. when the `ComponentAffect` declared `sym=[:x, :y]`, you can
404+
acces `u[:x]` and `u[:y]` inside the condition function.
410405
"""
411406
struct SymbolicView{N,VT} <: AbstractVector{VT}
412407
v::VT

0 commit comments

Comments
 (0)