Skip to content

Commit d8a27f4

Browse files
skoghoernwsmoses
authored andcommitted
Update control-flow.md - small typos
1 parent 985a617 commit d8a27f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/control-flow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ a function from traced arguments, leading to a traced condition.
124124

125125
In addition to conditional evaluations, [`@trace`](@ref) also supports capturing
126126
loops. This is possible in the form of both for and while loops.
127-
This enables one to write algorithm that would not be possible otherwise such as
127+
This enables one to write algorithms that would not be possible otherwise such as
128128
performing computations until convergence or running a computation for an certain
129129
number of iterations which is only known during runtime.
130130

@@ -188,6 +188,6 @@ This implementation runs the algorithm until convergence (the transport plan has
188188

189189
!!! warning "Current limitations"
190190

191-
This is currently not allowed to include mutations as part of the while loop condition.
191+
It is currently not allowed to include mutations as part of the while loop condition.
192192

193193
The for loop tracing does not support any arbitrary iterable. It supports integer ranges.

0 commit comments

Comments
 (0)