]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Either make implicit casts from Tensor<1,dim> to Point<dim> explicit, or correct...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 6 Feb 2015 03:16:46 +0000 (21:16 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 9 Feb 2015 23:27:14 +0000 (17:27 -0600)
include/deal.II/base/geometry_info.h

index a883e846efc8eecba2dd5a031e37826e3cbca579..ed8687f451db3b8fae11e515ac00b6183f1016a8 100644 (file)
@@ -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));
 }
 
 

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.