]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed default implementation of get_intermediate_point.
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 19 Sep 2016 13:14:23 +0000 (13:14 +0000)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 19 Sep 2016 13:14:23 +0000 (13:14 +0000)
source/grid/manifold.cc

index c56f44748f217134a7ea87d9727c69afaa44b516..b0d90b63fa09a27f0f344fa4ae29d8ac9674b10f 100644 (file)
@@ -70,7 +70,7 @@ get_intermediate_point (const Point<spacedim> &p1,
   std::vector<Point<spacedim> > vertices;
   vertices.push_back(p1);
   vertices.push_back(p2);
-  return project_to_manifold(vertices, w * p1 + (1-w)*p2 );
+  return project_to_manifold(vertices, w * p2 + (1-w)*p1 );
 }
 
 template <int dim, int spacedim>

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.