Skip to content

Commit ff71886

Browse files
committed
No, really, start with TRI3
1 parent 0948fee commit ff71886

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mesh/poly2tri_triangulator.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ void Poly2TriTriangulator::triangulate_current_points()
530530
p2t::Triangle & ptri = *ptri_ptr;
531531

532532
// 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++);
533+
// if we need a higher order we can convert at the end.
534+
auto elem = Elem::build_with_id(TRI3, next_id++);
535535
for (auto v : make_range(3))
536536
{
537537
const p2t::Point & vertex = *ptri.GetPoint(v);

0 commit comments

Comments
 (0)