fix doc string of `lower_triangle` method

This commit is contained in:
Wenping Guo 2019-01-30 15:42:28 +08:00
parent bb3f3ac2ee
commit b42339ec94
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ impl<N: Scalar + Zero, R: Dim, C: Dim, S: Storage<N, R, C>> Matrix<N, R, C, S> {
res res
} }
/// Extracts the upper triangular part of this matrix (including the diagonal). /// Extracts the lower triangular part of this matrix (including the diagonal).
#[inline] #[inline]
pub fn lower_triangle(&self) -> MatrixMN<N, R, C> pub fn lower_triangle(&self) -> MatrixMN<N, R, C>
where DefaultAllocator: Allocator<N, R, C> { where DefaultAllocator: Allocator<N, R, C> {