From 511371b00dcac6bbc104a1ebedfc6e83bb8fe55d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 22 Mar 2023 17:08:30 -0600 Subject: [PATCH] Fix a test regarding concepts. --- tests/grid/grid_tools_transform_01.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5