]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Rename variable in inner scope to avoid clash with outer scope.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Apr 2013 16:48:34 +0000 (16:48 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Apr 2013 16:48:34 +0000 (16:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@29414 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/table_handler.cc

index 2395c347f43c5d49ce9ee36fafccb64fe753693f..d9b500718c7f0a7903f46ad045558e4aa91f0061 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2011, 2012 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 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
@@ -669,9 +669,9 @@ void TableHandler::get_selected_columns(std::vector<std::string> &sel_columns) c
         {
           // i.e. key is a supercolumn key
           const unsigned int n_subcolumns=super_iter->second.size();
-          for (unsigned int j=0; j<n_subcolumns; ++j)
+          for (unsigned int k=0; k<n_subcolumns; ++k)
             {
-              const std::string subkey=super_iter->second[j];
+              const std::string subkey=super_iter->second[k];
               Assert(columns.count(subkey), ExcInternalError());
               sel_columns.push_back(subkey);
             }

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.