From: Martin Kronbichler Date: Sat, 18 Jan 2014 16:46:56 +0000 (+0000) Subject: Fix warning X-Git-Tag: v8.2.0-rc1~1013 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e245d982d6e1ec295f9773fbf6ae19ad291c08f4;p=dealii.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"));