Merge pull request #1383 from derchr/column-major-fix

Fix false row-major comment in doc
This commit is contained in:
Andreas Borgen Longva 2024-04-30 14:22:19 +02:00 committed by GitHub
commit 9bc7f8b0d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ pub unsafe trait RawStorage<T, R: Dim, C: Dim = U1>: Sized {
/// The spacing between consecutive row elements and consecutive column elements.
///
/// For example this returns `(1, 5)` for a row-major matrix with 5 columns.
/// For example this returns `(1, 5)` for a column-major matrix with 5 columns.
fn strides(&self) -> (Self::RStride, Self::CStride);
/// Compute the index corresponding to the irow-th row and icol-th column of this matrix. The