Skip to content

Commit 65fe94b

Browse files
committed
[alg.merge] Make "E(e1, e2)" explicitly depend on "e1", "e2".
1 parent d2ed4f7 commit 65fe94b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/algorithms.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10093,12 +10093,12 @@
1009310093
\tcode{proj2} be \tcode{identity\{\}},
1009410094
for the overloads with no parameters by those names;
1009510095
\item
10096-
$E$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
10096+
$E(\tcode{e1}, \tcode{e1})$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
1009710097
\item
1009810098
$K$ be the smallest integer in \range{0}{last1 - first1}
1009910099
such that for every element \tcode{e1} in the position \tcode{first1 + $K$}
1010010100
there are at least $N - K$ elements \tcode{e2}
10101-
in \range{first2}{last2} for which $E$ holds,
10101+
in \range{first2}{last2} for which $E(\tcode{e1}, \tcode{e1})$ holds,
1010210102
and be equal to \tcode{last1 - first1}
1010310103
if no such integer exists.
1010410104
\begin{note}
@@ -10123,7 +10123,7 @@
1012310123
If \tcode{e1} is an element of \range{first1}{last1} and
1012410124
\tcode{e2} of \range{first2}{last2},
1012510125
\tcode{e2} is copied into the output range before \tcode{e1}
10126-
if and only if $E$ is \tcode{true}.
10126+
if and only if $E(\tcode{e1}, \tcode{e1})$ is \tcode{true}.
1012710127

1012810128
\pnum
1012910129
\returns

0 commit comments

Comments
 (0)