]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed compilation on mac. 1632/head
authorLuca Heltai <luca.heltai@sissa.it>
Thu, 17 Sep 2015 20:04:13 +0000 (22:04 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Thu, 17 Sep 2015 20:10:44 +0000 (22:10 +0200)
source/fe/mapping_q1.cc
source/fe/mapping_q_generic.cc

index a1ab7c72f0ebb434dae64fa356fb2152c93901f4..cf3bd3935cadde9fe85e8ca3809a72f2350967fd 100644 (file)
@@ -406,7 +406,7 @@ transform_real_to_unit_cell (const typename Triangulation<dim,spacedim>::cell_it
   // projection to the least square plane determined by the vertices
   // of the cell
   std::vector<Point<spacedim> > a;
-  compute_mapping_support_points (cell,a);
+  this->compute_mapping_support_points (cell,a);
   Point<dim> initial_p_unit =
     transform_real_to_unit_cell_initial_guess<dim,spacedim>(a,p);
 
@@ -437,7 +437,7 @@ transform_real_to_unit_cell (const typename Triangulation<dim,spacedim>::cell_it
       mdata (this->get_data(update_flags,
                             point_quadrature));
 
-      compute_mapping_support_points (cell, mdata->mapping_support_points);
+      this->compute_mapping_support_points (cell, mdata->mapping_support_points);
       Assert(mdata->mapping_support_points.size() ==
              GeometryInfo<dim>::vertices_per_cell,
              ExcInternalError());
index 2cc850d8ebf1b24836e4cd282ff9ac920855b20d..8f9ffd3e6b6aaef03fe6c90aff7fbd84ab1f8faa 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <cmath>
 #include <algorithm>
+#include <numeric>
 
 
 DEAL_II_NAMESPACE_OPEN

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.