From ef57d1edee9656df8bc4db3f436efdda11b7e84b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Feb 2015 21:16:49 -0600 Subject: [PATCH] Either make implicit casts from Tensor<1,dim> to Point explicit, or correct the data type of where we store the result. --- source/grid/grid_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 4856c19276..5d9774865d 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -3071,7 +3071,7 @@ namespace GridGenerator // one. move it to halfway // between inner and outer // sphere - const Point<3> old_distance = cell->vertex(v) - p; + const Tensor<1,3> old_distance = cell->vertex(v) - p; const double old_radius = cell->vertex(v).distance(p); cell->vertex(v) = p + old_distance * (middle_radius / old_radius); -- 2.39.5