From 37fe38104846783293c9d75bff55ef738ad954d4 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 18 May 2018 02:38:37 +0200 Subject: [PATCH] Fix ambiguous call in mappings/mapping_real_to_unit_q1_singular_02 --- .../mapping_real_to_unit_q1_singular_02.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/mappings/mapping_real_to_unit_q1_singular_02.cc b/tests/mappings/mapping_real_to_unit_q1_singular_02.cc index d7fb72116b..be85c228dc 100644 --- a/tests/mappings/mapping_real_to_unit_q1_singular_02.cc +++ b/tests/mappings/mapping_real_to_unit_q1_singular_02.cc @@ -33,13 +33,13 @@ void test_real_to_unit_cell() Triangulation triangulation; - std::vector > points ({{ - Point(-0.29999999999999999, -0.29999999999999999), - Point(-0.050000000000000003, -0.29999999999999999), - Point(-0.29999999999999999, -0.050000000000000003), - Point(-0.049999999999999989, -0.050000000000000003) - } - }); + std::vector > points + { + Point(-0.29999999999999999, -0.29999999999999999), + Point(-0.050000000000000003, -0.29999999999999999), + Point(-0.29999999999999999, -0.050000000000000003), + Point(-0.049999999999999989, -0.050000000000000003) + }; std::vector > cells(1); cells[0].vertices[0] = 0; cells[0].vertices[1] = 1; @@ -55,7 +55,7 @@ void test_real_to_unit_cell() { mapping.transform_real_to_unit_cell(triangulation.begin(), point); } - catch (typename Mapping::ExcTransformationFailed) + catch (typename Mapping::ExcTransformationFailed &) { deallog << "Transformation for point " << point << " on cell with " << "center " << triangulation.begin()->center() << " is not invertible" << std::endl; -- 2.39.5