]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix warning
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 18 Jan 2014 16:46:56 +0000 (16:46 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 18 Jan 2014 16:46:56 +0000 (16:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@32247 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/trilinos_sparse_matrix.cc

index 644baa2f076247566370afee4d5643ad191d0488..bf5a0840feee3ec9c56bbd1538a575dce75a651b 100644 (file)
@@ -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<unsigned int>(input_row_map.NumMyElements()),
            ExcMessage("Locally relevant rows of sparsity pattern must contain "
                       "all locally owned 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


Typeset in Trocchi and Trocchi Bold Sans Serif.