]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use proper template argument.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 16 Jan 2011 04:08:41 +0000 (04:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 16 Jan 2011 04:08:41 +0000 (04:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@23201 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_tools.cc

index 466847fc2ea3a6157939ffa791104f9a80f09998..142534fc32639f7416291b8eff1bf9daa48a6310 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -930,7 +930,7 @@ partition_triangulation (const unsigned int           n_partitions,
                                    // check for an easy return
   if (n_partitions == 1)
     {
-      for (typename Triangulation<dim>::active_cell_iterator
+      for (typename Triangulation<dim,spacedim>::active_cell_iterator
              cell = triangulation.begin_active();
            cell != triangulation.end(); ++cell)
         cell->set_subdomain_id (0);
@@ -975,7 +975,7 @@ partition_triangulation (const unsigned int           n_partitions,
                                    // check for an easy return
   if (n_partitions == 1)
     {
-      for (typename Triangulation<dim>::active_cell_iterator
+      for (typename Triangulation<dim,spacedim>::active_cell_iterator
              cell = triangulation.begin_active();
            cell != triangulation.end(); ++cell)
         cell->set_subdomain_id (0);

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.