We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0948fee commit ff71886Copy full SHA for ff71886
1 file changed
src/mesh/poly2tri_triangulator.C
@@ -530,8 +530,8 @@ void Poly2TriTriangulator::triangulate_current_points()
530
p2t::Triangle & ptri = *ptri_ptr;
531
532
// We always use TRI3 here, since that's what we have nodes for;
533
- // if we need a higher order we'll convert at the end.
534
- auto elem = Elem::build_with_id(_elem_type, next_id++);
+ // if we need a higher order we can convert at the end.
+ auto elem = Elem::build_with_id(TRI3, next_id++);
535
for (auto v : make_range(3))
536
{
537
const p2t::Point & vertex = *ptri.GetPoint(v);
0 commit comments