diff --git a/MeshLib/Elements/MapBulkElementPoint.cpp b/MeshLib/Elements/MapBulkElementPoint.cpp index abc5029e1a1d718d6aa72858aa1fbe60eb719f3a..c5ab31d53781aa841d2e38fd7534ab6b8e3ec90e 100644 --- a/MeshLib/Elements/MapBulkElementPoint.cpp +++ b/MeshLib/Elements/MapBulkElementPoint.cpp @@ -93,7 +93,7 @@ MathLib::Point3d getBulkElementPoint(MeshLib::Tet const& /*tet*/, std::array<double, 3>{{1 - wp[0] - wp[1], wp[0], wp[1]}}}; case 3: return MathLib::Point3d{ - std::array<double, 3>{{0, 1 - wp[0], wp[1]}}}; + std::array<double, 3>{{0, wp[1], wp[0]}}}; default: OGS_FATAL("Invalid face id '{:d}' for the tetrahedron.", face_id); }