From: Wolfgang Bangerth Date: Fri, 6 Feb 2015 03:16:46 +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~11 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9887460be65d7a986c5b8ba02157cbdb0e7908cc;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/include/deal.II/base/geometry_info.h b/include/deal.II/base/geometry_info.h index a883e846ef..ed8687f451 100644 --- a/include/deal.II/base/geometry_info.h +++ b/include/deal.II/base/geometry_info.h @@ -2315,7 +2315,7 @@ GeometryInfo<1>::cell_to_child_coordinates (const Point<1> &p, ExcInternalError()); (void)refine_case; // removes -Wunused-parameter warning in optimized mode - return p*2.0-unit_cell_vertex(child_index); + return Point<1>(p*2.0-unit_cell_vertex(child_index)); }