From: kronbichler Date: Sat, 18 Jan 2014 16:46:56 +0000 (+0000) Subject: Fix warning X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0633374dd1065b96ac9371c1b4c69cc1558ead99;p=dealii-svn.git Fix warning git-svn-id: https://svn.dealii.org/trunk@32247 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/trilinos_sparse_matrix.cc b/deal.II/source/lac/trilinos_sparse_matrix.cc index 644baa2f07..bf5a0840fe 100644 --- a/deal.II/source/lac/trilinos_sparse_matrix.cc +++ b/deal.II/source/lac/trilinos_sparse_matrix.cc @@ -633,7 +633,7 @@ namespace TrilinosWrappers relevant_rows.add_range(0, n_global_elements(input_row_map)); } relevant_rows.compress(); - Assert(relevant_rows.n_elements() >= input_row_map.NumMyElements(), + Assert(relevant_rows.n_elements() >= static_cast(input_row_map.NumMyElements()), ExcMessage("Locally relevant rows of sparsity pattern must contain " "all locally owned rows"));