Skip to content

Commit da06e76

Browse files
committed
docs: clean up example
1 parent 688010c commit da06e76

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/test_structured_expression.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,16 @@ end
129129
length(get_tree(ex))
130130
@test length(get_tree(ex)) == 17 #src
131131
#=
132-
Evaluation of an `AbstractExpression` is set up to forward through
133-
`get_tree`, so this will work automatically.
134-
135-
Let's try to evaluate this on some random data:
132+
Next, let's try to evaluate this on some random data:
136133
=#
137134
rng = Random.MersenneTwister(0)
138135
X = randn(rng, Float64, 2, 5)
139136
X
140137
#=
141138
Followed by the evaluation. Since we have stored the operators directly
142-
in the expression object, we do not need to pass the operators explicitly:
139+
in the expression object, we do not need to pass the operators explicitly.
140+
Evaluation of an `AbstractExpression` is set up to forward through
141+
`get_tree`, so this will work automatically.
143142
=#
144143
ex(X)
145144
#=

0 commit comments

Comments
 (0)