Skip to content

Commit 2ed8c53

Browse files
committed
Fix docstring syntax
1 parent c051eee commit 2ed8c53

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/src/eval.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ It also re-defines `print`, `show`, and the various operators, to work with the
3030
You can also work with arbitrary types, by defining a `GenericOperatorEnum` instead.
3131
The notation is the same for `eval_tree_array`, though it will return `nothing`
3232
when it can't find a method, and not do any NaN checks:
33+
3334
```@docs
34-
eval_tree_array(tree, cX::AbstractArray{T,N}, operators::GenericOperatorEnum) where {T,N}
35+
eval_tree_array(tree, cX::AbstractArray, operators::GenericOperatorEnum)
3536
```
3637

3738
## Derivatives

src/EvaluateEquation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ function deg2_diff_eval(
473473
end
474474

475475
"""
476-
eval_tree_array(tree::Node, cX::AbstractMatrix{T,N}, operators::GenericOperatorEnum) where {T,N}
476+
eval_tree_array(tree::Node, cX::AbstractMatrix, operators::GenericOperatorEnum)
477477
478478
Evaluate a generic binary tree (equation) over a given input data,
479479
whatever that input data may be. The `operators` enum contains all
@@ -503,7 +503,7 @@ function eval(current_node)
503503
504504
# Arguments
505505
- `tree::Node`: The root node of the tree to evaluate.
506-
- `cX::AbstractArray{T,N}`: The input data to evaluate the tree on.
506+
- `cX::AbstractArray`: The input data to evaluate the tree on.
507507
- `operators::GenericOperatorEnum`: The operators used in the tree.
508508
- `throw_errors::Bool=true`: Whether to throw errors
509509
if they occur during evaluation. Otherwise,

0 commit comments

Comments
 (0)