]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid a warning.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Nov 2009 00:00:42 +0000 (00:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Nov 2009 00:00:42 +0000 (00:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@20052 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_accessor.templates.h

index aa3bbf063ee0a11a7a3b0a86bd974b720767d854..9c5ba69dbb502e2df78bddf4d75cfd2069ff90ea 100644 (file)
@@ -2355,7 +2355,9 @@ namespace internal
                    typename BaseClass::ExcInvalidObject());
            Assert (&accessor.get_fe() != 0,
                    typename BaseClass::ExcInvalidObject());
-           Assert (local_source_end-local_source_begin == accessor.get_fe().dofs_per_cell,
+           Assert (static_cast<unsigned int>(local_source_end-local_source_begin)
+                   ==
+                   accessor.get_fe().dofs_per_cell,
                    typename BaseClass::ExcVectorDoesNotMatch());
            Assert (accessor.dof_handler->n_dofs() == global_destination.size(),
                    typename BaseClass::ExcVectorDoesNotMatch());

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.