Fix typo.
This commit is contained in:
parent
f2da993c8b
commit
17eb626018
@ -60,7 +60,7 @@ pub unsafe trait Storage<N: Scalar, R: Dim, C: Dim = U1>: Debug + Sized {
|
|||||||
///
|
///
|
||||||
/// ```.ignore
|
/// ```.ignore
|
||||||
/// let lindex = self.linear_index(irow, icol);
|
/// let lindex = self.linear_index(irow, icol);
|
||||||
/// assert!(*self.get_unchecked(irow, icol) == *self.get_unchecked_linear(lindex)
|
/// assert!(*self.get_unchecked(irow, icol) == *self.get_unchecked_linear(lindex))
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
fn linear_index(&self, irow: usize, icol: usize) -> usize {
|
fn linear_index(&self, irow: usize, icol: usize) -> usize {
|
||||||
|
Loading…
Reference in New Issue
Block a user