From 119d69198e1fde4d56374d8758ed6b726a2ce6c4 Mon Sep 17 00:00:00 2001 From: Adrian H Date: Mon, 22 Apr 2024 17:36:40 +0700 Subject: [PATCH] Fixed a (presumed) typo in documentation in matrix_view.rs Fixed a (presumed) typo in documentation in matrix_view.rs. Previously it says fixed_view and fixed_slice returns a matrix with `(R::dim(), CView::dim())` consecutive components. I just changed R to RView, because presumably this is a typo. --- src/base/matrix_view.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/matrix_view.rs b/src/base/matrix_view.rs index ab3d68ce..305d4a32 100644 --- a/src/base/matrix_view.rs +++ b/src/base/matrix_view.rs @@ -546,7 +546,7 @@ macro_rules! matrix_view_impl ( $me.$generic_view_with_steps(start, shape, steps) } - /// Slices this matrix starting at its component `(irow, icol)` and with `(R::dim(), + /// Slices this matrix starting at its component `(irow, icol)` and with `(RView::dim(), /// CView::dim())` consecutive components. #[inline] #[deprecated = slice_deprecation_note!($fixed_view)] @@ -555,7 +555,7 @@ macro_rules! matrix_view_impl ( $me.$fixed_view(irow, icol) } - /// Return a view of this matrix starting at its component `(irow, icol)` and with `(R::dim(), + /// Return a view of this matrix starting at its component `(irow, icol)` and with `(RView::dim(), /// CView::dim())` consecutive components. #[inline] pub fn $fixed_view($me: $Me, irow: usize, icol: usize)