From: Wolfgang Bangerth Date: Fri, 6 Feb 2015 03:16:49 +0000 (-0600) Subject: Either make implicit casts from Tensor<1,dim> to Point explicit, or correct... X-Git-Tag: v8.3.0-rc1~492^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef57d1edee9656df8bc4db3f436efdda11b7e84b;p=dealii.git Either make implicit casts from Tensor<1,dim> to Point explicit, or correct the data type of where we store the result. --- 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);