]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Try to improve one issue where compilers typically can't quite resolve a function...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 8 Nov 2013 23:53:04 +0000 (23:53 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 8 Nov 2013 23:53:04 +0000 (23:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@31598 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/graph_coloring.h

index 9a2c2f099cf858b659f017866219027960544354..d83fc85139138dd0f1de81edd65fd419bbe67307 100644 (file)
@@ -347,7 +347,7 @@ namespace GraphColoring
             }
         }
 
-      // If there is more than one partition, do the same thing that we did for the even partitions 
+      // If there is more than one partition, do the same thing that we did for the even partitions
       // to the odd partitions
       if (partition_size>1)
         {
@@ -479,7 +479,7 @@ namespace GraphColoring
   std::vector<std::vector<Iterator> >
   make_graph_coloring(const Iterator &begin,
                       const typename identity<Iterator>::type &end,
-                      const std_cxx1x::function<std::vector<types::global_dof_index> (const Iterator &)> &get_conflict_indices)
+                      const std_cxx1x::function<std::vector<types::global_dof_index> (const typename identity<Iterator>::type &)> &get_conflict_indices)
   {
     // Create the partitioning.
     std::vector<std::vector<Iterator> >

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.