diff options
Diffstat (limited to 'Eigen/src/Core/Minor.h')
-rw-r--r-- | Eigen/src/Core/Minor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Minor.h b/Eigen/src/Core/Minor.h index 6c755bb74..3897c8bac 100644 --- a/Eigen/src/Core/Minor.h +++ b/Eigen/src/Core/Minor.h @@ -64,7 +64,7 @@ template<typename MatrixType> class Minor int row, int col) : m_matrix(matrix), m_row(row), m_col(col) { - assert(row >= 0 && row < matrix.rows() + ei_assert(row >= 0 && row < matrix.rows() && col >= 0 && col < matrix.cols()); } |