diff options
Diffstat (limited to 'src/Core/Block.h')
-rw-r--r-- | src/Core/Block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/Block.h b/src/Core/Block.h index 72f291034..c5ab18884 100644 --- a/src/Core/Block.h +++ b/src/Core/Block.h @@ -42,7 +42,7 @@ template<typename MatrixType, int BlockRows, int BlockCols> class Block : m_matrix(matrix), m_startRow(startRow), m_startCol(startCol) { assert(startRow >= 0 && BlockRows >= 1 && startRow + BlockRows <= matrix.rows() - && startCol >= 0 && BlockCols >= 1 && startCol + BlockCols <= matrix.rows()); + && startCol >= 0 && BlockCols >= 1 && startCol + BlockCols <= matrix.cols()); } Block(const Block& other) |