Skip to content

Commit 2a7f36a

Browse files
1uctkoeppe
authored andcommitted
[mdspan.layout.left.cons] Fix typo in precondition.
Here `other` is a layout mapping and layout mappings don't have this API to access the `i`th extent. They only have `extents()` to get the std::extents object.
1 parent 6d9fa97 commit 2a7f36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22102,7 +22102,7 @@
2210222102
\begin{itemize}
2210322103
\item
2210422104
If \tcode{extents_type::rank() > 1} is \tcode{true},
22105-
then \tcode{other.stride(1)} equals \tcode{other.extents(0)}.
22105+
then \tcode{other.stride(1)} equals \tcode{other.extents().ex\-tent(0)}.
2210622106
\item
2210722107
\tcode{other.required_span_size()} is representable as
2210822108
a value of type \tcode{index_type}.

0 commit comments

Comments
 (0)