Fix mismatching description for is_empty
This commit is contained in:
parent
27a415d47f
commit
4b3a157513
|
@ -10,7 +10,7 @@ use base::storage::Storage;
|
||||||
use base::{DefaultAllocator, Matrix, Scalar, SquareMatrix};
|
use base::{DefaultAllocator, Matrix, Scalar, SquareMatrix};
|
||||||
|
|
||||||
impl<N: Scalar, R: Dim, C: Dim, S: Storage<N, R, C>> Matrix<N, R, C, S> {
|
impl<N: Scalar, R: Dim, C: Dim, S: Storage<N, R, C>> Matrix<N, R, C, S> {
|
||||||
/// Indicates if this is a square matrix.
|
/// Indicates if this is an empty matrix.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
let (nrows, ncols) = self.shape();
|
let (nrows, ncols) = self.shape();
|
||||||
|
|
Loading…
Reference in New Issue