Skip to content

Commit 453c3bc

Browse files
committed
Proper example syntax in docs
1 parent bb0395b commit 453c3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ eval_tree_array(tree::Node{T}, cX::AbstractMatrix{T}, operators::OperatorEnum) w
1010
Assuming you are only using a single `OperatorEnum`, you can also use
1111
the following short-hand by using the expression as a function:
1212

13-
```julia
13+
```@example
1414
operators = OperatorEnum(; binary_operators=[+, -, *], unary_operators=[cos])
1515
tree = Node(; feature=1) * cos(Node(; feature=2) - 3.2)
1616

0 commit comments

Comments
 (0)