Commit d08a1f07 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[MatrixBlock] Remove code compiled only in release.

parent f3dd0444
......@@ -507,13 +507,6 @@ namespace Eigen {
m_nbRows(BlockIndex::cardinal(rows)),
m_nbCols(BlockIndex::cardinal(cols)), m_rows(rows), m_cols(cols)
{
# ifndef NDEBUG
// test that input is sorted
segments_t r (rows); BlockIndex::sort (r);
assert (r == rows);
segments_t c (cols); BlockIndex::sort (c);
assert (c == cols);
#endif
}
/// Constructor by vectors of segments
......@@ -526,13 +519,6 @@ namespace Eigen {
const size_type& nbCols, const ColIndices_t& cols) :
m_nbRows(nbRows), m_nbCols(nbCols), m_rows(rows), m_cols(cols)
{
# ifndef NDEBUG
// test that input is sorted
segments_t r (rows); BlockIndex::sort (r);
assert (r == rows);
segments_t c (cols); BlockIndex::sort (c);
assert (c == cols);
#endif
}
/// Constructor of single block
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment