Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[rand.dist.samp.plinear] Fix copy & paste error in Mandates
This error was present in the incoming P1719R2 paper (Mandating the
Standard Library: Clause 26 - Numerics Library), but is obviously bogus.
There is no UnaryOperation type in that constructor. The correct
requirement is taken from the corresponding constructor in
[rand.dist.samp.pconst].
  • Loading branch information
jwakely committed Feb 5, 2024
commit ca31150822a4eedd2ecb370624bf6f84f9db7d4d
7 changes: 6 additions & 1 deletion source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6395,7 +6395,12 @@
\begin{itemdescr}
\pnum
\mandates
\tcode{is_invocable_r_v<double, UnaryOperation\&, double>} is \tcode{true}.
Both of
\begin{itemize}
\item{\tcode{is_convertible_v<iterator_traits<InputIteratorB>::value_type, double>}}
\item{\tcode{is_convertible_v<iterator_traits<InputIteratorW>::value_type, double>}}
\end{itemize}
are \tcode{true}.

\pnum
\expects
Expand Down