aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Core/Row.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Row.h')
-rw-r--r--src/Core/Row.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/Row.h b/src/Core/Row.h
index 89a0dfb25..fc0e2b18e 100644
--- a/src/Core/Row.h
+++ b/src/Core/Row.h
@@ -40,7 +40,7 @@ template<typename MatrixType> class Row
Row(const MatRef& matrix, int row)
: m_matrix(matrix), m_row(row)
{
- EIGEN_CHECK_ROW_RANGE(matrix, row);
+ assert(row >= 0 && row < matrix.rows());
}
Row(const Row& other)