From c138d50fa9ea1a87d9aba8188b291acedb36d027 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 6 Sep 2007 03:33:29 +0000 Subject: [PATCH] Add casts when taking the address of a template function to prevent internal compiler errors in icc10.0 on itanium git-svn-id: https://svn.dealii.org/trunk@15134 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/cylinder_02.cc | 2 +- tests/bits/cylinder_03.cc | 2 +- tests/bits/cylinder_04.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bits/cylinder_02.cc b/tests/bits/cylinder_02.cc index 8b39c6c8e2..de6f9ab384 100644 --- a/tests/bits/cylinder_02.cc +++ b/tests/bits/cylinder_02.cc @@ -48,7 +48,7 @@ void check () Triangulation triangulation; GridGenerator::cylinder (triangulation); - GridTools::transform (&rotate_to_y, triangulation); + GridTools::transform ((Point (*)(const Point&))&rotate_to_y, triangulation); static const CylinderBoundary boundary (1,1); triangulation.set_boundary (0, boundary); diff --git a/tests/bits/cylinder_03.cc b/tests/bits/cylinder_03.cc index 1904fb2de4..3e030c1d7a 100644 --- a/tests/bits/cylinder_03.cc +++ b/tests/bits/cylinder_03.cc @@ -45,7 +45,7 @@ void check () Triangulation triangulation; GridGenerator::cylinder (triangulation); - GridTools::transform (&rotate_to_y, triangulation); + GridTools::transform ((Point (*)(const Point&))&rotate_to_y, triangulation); static const CylinderBoundary boundary (1,2); triangulation.set_boundary (0, boundary); diff --git a/tests/bits/cylinder_04.cc b/tests/bits/cylinder_04.cc index ce8e6d0c8b..f3d91cf0ef 100644 --- a/tests/bits/cylinder_04.cc +++ b/tests/bits/cylinder_04.cc @@ -49,7 +49,7 @@ void check () Triangulation triangulation; GridGenerator::cylinder (triangulation); - GridTools::transform (&rotate_to_y, triangulation); + GridTools::transform ((Point (*)(const Point&))&rotate_to_y, triangulation); static const CylinderBoundary boundary (1, Point(std::cos(xy_angle), std::sin(xy_angle), 0), -- 2.39.5