Skip to content
Snippets Groups Projects
Commit c5392ac9 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Allow empty lines for ConnectivityMatrix

parent 87db1cb4
No related branches found
No related tags found
1 merge request!205High-order polynomial reconstruction
...@@ -65,7 +65,7 @@ class ConnectivityMatrix ...@@ -65,7 +65,7 @@ class ConnectivityMatrix
Assert(m_row_map[0] == 0, "row map should start with 0"); Assert(m_row_map[0] == 0, "row map should start with 0");
#ifndef NDEBUG #ifndef NDEBUG
for (size_t i = 1; i < m_row_map.size(); ++i) { for (size_t i = 1; i < m_row_map.size(); ++i) {
Assert(m_row_map[i] > m_row_map[i - 1], "row map values must be strictly increasing"); Assert(m_row_map[i] >= m_row_map[i - 1], "row map values must be increasing");
} }
#endif // NDEBUG #endif // NDEBUG
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment