]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Cast invalid values.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2002 15:57:57 +0000 (15:57 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2002 15:57:57 +0000 (15:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@6561 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe.cc

index 9c59f139e5c0be89a8cffe35fb857f25d68c8c91..935e9b692a613edf9e73f15535642bb540f43c6e 100644 (file)
@@ -302,7 +302,8 @@ FiniteElementBase<dim>::interface_constraints_size () const
       default:
             Assert (false, ExcNotImplemented());
     };
-  return TableIndices<2> (-1, -1);
+  return TableIndices<2> (static_cast<unsigned int>(-1),
+                          static_cast<unsigned int>(-1));
 };
 
                                    

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.