From 9887460be65d7a986c5b8ba02157cbdb0e7908cc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Feb 2015 21:16:46 -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. --- include/deal.II/base/geometry_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5