Skip to content

Commit d2ed4f7

Browse files
committed
[alg.partitions] Fixed some transcription errors
1 parent e99cd72 commit d2ed4f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/algorithms.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9894,9 +9894,9 @@
98949894
let
98959895
\begin{itemize}
98969896
\item
9897-
$M$ be the number of iterators in \range{first}{last}
9898-
for which $E(\tcode{i})$ is \tcode{true},
9899-
and $K$ be \tcode{last - first};
9897+
$M$ be the number of iterators \tcode{i} in \range{first}{last}
9898+
for which $E(\tcode{*i})$ is \tcode{true},
9899+
and $K$ be \tcode{last - first - $M$};
99009900
\item
99019901
\tcode{last_true} be \tcode{out_true + $M$}, and
99029902
\tcode{last_false} be \tcode{out_false + $K$}.
@@ -9905,7 +9905,7 @@
99059905
\pnum
99069906
For the overloads with parameters
99079907
\tcode{last_true}, \tcode{last_false}, \tcode{out_true_r}, or \tcode{out_false_r},
9908-
let $M$ be \tcode{last_true} \tcode{last_true - out_true}
9908+
let $M$ be \tcode{last_true - out_true}
99099909
and $K$ be \tcode{last_false - out_false}.
99109910

99119911
\pnum

0 commit comments

Comments
 (0)