]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test regarding concepts. 14952/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 22 Mar 2023 23:08:30 +0000 (17:08 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 22 Mar 2023 23:08:30 +0000 (17:08 -0600)
tests/grid/grid_tools_transform_01.cc

index 91bebf6ab8bb0e6bb207435241f2c6dceb9b0151..283b6393a2b19fb3994e34e0c73b2717076a177f 100644 (file)
 
 template <int dim>
 Point<dim>
-trans_func(Point<dim> &p);
+trans_func(const Point<dim> &p);
 
 template <>
 Point<2>
-trans_func(Point<2> &p)
+trans_func(const Point<2> &p)
 {
   Point<2> r(p(0) + p(1) * p(1), p(1));
   return r;
 }
 template <>
 Point<3>
-trans_func(Point<3> &p)
+trans_func(const Point<3> &p)
 {
   Point<3> r(p(0) + p(1) * p(1), p(1), p(2));
   return r;

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.