]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Silence a warning.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Sep 2008 02:03:37 +0000 (02:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Sep 2008 02:03:37 +0000 (02:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@16863 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/trilinos_precondition_amg.cc

index 8a7a349edb376a2a89c09626e2af8cdaf50a236e..765849e684613470ddbbd15cae1a385fb1d21405 100755 (executable)
@@ -93,8 +93,8 @@ namespace TrilinosWrappers
                ExcDimensionMismatch(n_rows,
                                     null_space_modes.GlobalLength()));
 
-       unsigned int my_size = domain_map->NumMyElements();
-       Assert (my_size == domain_map->MaxLID()+1,
+       const unsigned int my_size = domain_map->NumMyElements();
+       Assert (my_size == (unsigned int)domain_map->MaxLID()+1,
                ExcDimensionMismatch (my_size, domain_map->MaxLID()+1));
        
                                        // Reshape null space as a

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.