git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29034
0785d39b-7218-0410-832d-
ea1e28bc413d
const size_type n_rows = dealii_sparse_matrix.m();
+#ifndef DEAL_II_USE_LARGE_INDEX_TYPE
+ Assert (static_cast<size_type>(input_row_map.NumGlobalElements()) == n_rows,
+ ExcDimensionMismatch (input_row_map.NumGlobalElements(),
+ n_rows));
+#else
+ Assert (static_cast<size_type>(input_row_map.NumGlobalElements64()) == n_rows,
+ ExcDimensionMismatch (input_row_map.NumGlobalElements64(),
+ n_rows));
+#endif
Assert (input_row_map.NumGlobalElements() == (TrilinosWrappers::types::int_type)n_rows,
ExcDimensionMismatch (input_row_map.NumGlobalElements(),
n_rows));
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams