From: Daniel Arndt Date: Fri, 18 May 2018 00:38:37 +0000 (+0200) Subject: Fix ambiguous call in mappings/mapping_real_to_unit_q1_singular_02 X-Git-Tag: v9.1.0-rc1~1131^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37fe38104846783293c9d75bff55ef738ad954d4;p=dealii.git Fix ambiguous call in mappings/mapping_real_to_unit_q1_singular_02 --- 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;