Skip to content

Commit

Permalink
Merge pull request #1383 from derchr/column-major-fix
Browse files Browse the repository at this point in the history
Fix false row-major comment in doc
  • Loading branch information
Andlon authored Apr 30, 2024
2 parents e84ea21 + 28d04b6 commit 9bc7f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9bc7f8b

Please sign in to comment.