From 155eb9d41e51e4baa414f1bb8b6eb89a839f3db0 Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Fri, 20 Apr 2018 10:39:56 +0200 Subject: [PATCH] [makeGeometry] Fix for Dune < 2.6 * due to a typo, the constructor got the original points and the not corrected ones --- dumux/common/geometry/makegeometry.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/common/geometry/makegeometry.hh b/dumux/common/geometry/makegeometry.hh index e5ed691cb4..c766fdb00c 100644 --- a/dumux/common/geometry/makegeometry.hh +++ b/dumux/common/geometry/makegeometry.hh @@ -150,7 +150,7 @@ auto makeDuneQuadrilaterial(const std::vector<Dune::FieldVector<Scalar, 3>>& poi const auto quadrilateral = GeometryType(Dune::GeometryTypes::quadrilateral, corners); #else static Dune::GeometryType gt(Dune::GeometryType::cube, dim); - const auto quadrilateral = GeometryType(gt, points); + const auto quadrilateral = GeometryType(gt, corners); #endif const auto eps = 1e-20; -- GitLab