]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
... and the second part
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2013 23:33:24 +0000 (23:33 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2013 23:33:24 +0000 (23:33 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31051 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_tools.cc

index 9f1be3567792e6116f04751dd7a43112cee8859a..df146a150b1dbbfb6bac450c64a5604b707bf1a5 100644 (file)
@@ -2419,8 +2419,8 @@ next_cell:
      const int                direction,
      const dealii::Tensor<1,DH::space_dimension> &offset)
   {
-    static const unsigned int dim = DH::dimension;
-    static const unsigned int space_dim = DH::space_dimension;
+    static const int dim = DH::dimension;
+    static const int space_dim = DH::space_dimension;
     Assert (0<=direction && direction<space_dim,
             ExcIndexRange (direction, 0, space_dim));
 
@@ -2468,8 +2468,8 @@ next_cell:
                           const int                direction,
                           const dealii::Tensor<1,DH::space_dimension> &offset)
   {
-    static const unsigned int dim = DH::dimension;
-    static const unsigned int space_dim = DH::space_dimension;
+    static const int dim = DH::dimension;
+    static const int space_dim = DH::space_dimension;
     Assert (0<=direction && direction<space_dim,
             ExcIndexRange (direction, 0, space_dim));
 

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.