From: Wolfgang Bangerth Date: Wed, 22 Mar 2023 23:08:30 +0000 (-0600) Subject: Fix a test regarding concepts. X-Git-Tag: v9.5.0-rc1~431^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=511371b00dcac6bbc104a1ebedfc6e83bb8fe55d;p=dealii.git Fix a test regarding concepts. --- diff --git a/tests/grid/grid_tools_transform_01.cc b/tests/grid/grid_tools_transform_01.cc index 91bebf6ab8..283b6393a2 100644 --- a/tests/grid/grid_tools_transform_01.cc +++ b/tests/grid/grid_tools_transform_01.cc @@ -25,18 +25,18 @@ template Point -trans_func(Point &p); +trans_func(const Point &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;