]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix type of a counting index.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Feb 2013 04:59:50 +0000 (04:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Feb 2013 04:59:50 +0000 (04:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@28291 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 8037b4dd153a6a3f7c34aa3f44608a37af964b40..c5ac2bbc769585a606b054630aae070ef16af8fa 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -1882,7 +1882,7 @@ namespace DoFRenumbering
     std::fill (new_dof_indices.begin(), new_dof_indices.end(),
                numbers::invalid_unsigned_int);
     unsigned int next_free_index = 0;
-    for (unsigned int subdomain=0; subdomain<n_subdomains; ++subdomain)
+    for (types::subdomain_id subdomain=0; subdomain<n_subdomains; ++subdomain)
       for (unsigned int i=0; i<n_dofs; ++i)
         if (subdomain_association[i] == subdomain)
           {

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.