]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make compile with current gcc mainline.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Sep 2012 14:43:39 +0000 (14:43 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Sep 2012 14:43:39 +0000 (14:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@26474 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_tools.cc

index 6b7d7276663c6390ef8b6851b96615c7ea7cee34..d49f42032ffb8a6d0f3a13fd039d1b8bff2220a0 100644 (file)
@@ -5698,8 +5698,8 @@ namespace DoFTools
               const std::map<unsigned int,float>::const_iterator
                 j = weights[row].find(col);
               if ((j != weights[row].end()) && (j->second != 0))
-                constraint_line.push_back (std::make_pair(representants[row],
-                                                          j->second));
+                constraint_line.push_back (std::pair<unsigned int,double>(representants[row],
+                                                                         j->second));
             };
 
           constraints.add_entries (global_dof, constraint_line);

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.