From 0633374dd1065b96ac9371c1b4c69cc1558ead99 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Sat, 18 Jan 2014 16:46:56 +0000 Subject: [PATCH] Fix warning git-svn-id: https://svn.dealii.org/trunk@32247 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/trilinos_sparse_matrix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); -- 2.39.5