Skip to content

Commit 91b4bf8

Browse files
committed
[alg.merge] Fix some misapplications of P3179R9.
1 parent 6f496bf commit 91b4bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10092,7 +10092,7 @@
1009210092
$E(\tcode{e1}, \tcode{e1})$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
1009310093
\item
1009410094
$K$ be the smallest integer in \range{0}{last1 - first1}
10095-
such that for every element \tcode{e1} in the position \tcode{first1 + $K$}
10095+
such that for the element \tcode{e1} in the position \tcode{first1 + $K$}
1009610096
there are at least $N - K$ elements \tcode{e2}
1009710097
in \range{first2}{last2} for which $E(\tcode{e1}, \tcode{e1})$ holds,
1009810098
and be equal to \tcode{last1 - first1}
@@ -10128,7 +10128,7 @@
1012810128
\tcode{result + $N$}
1012910129
for the overloads in namespace \tcode{std}.
1013010130
\item
10131-
\tcode{\{first1 + $K$, first2 + $N$ - $K$, result_last\}}
10131+
\tcode{\{first1 + $K$, first2 + $N$ - $K$, result + $N$\}}
1013210132
for the overloads in namespace \tcode{ranges}.
1013310133
\end{itemize}
1013410134

0 commit comments

Comments
 (0)