diff --git a/Mesh/HighOrder.cpp b/Mesh/HighOrder.cpp index 8ca729de843809889181dd02645bb19fa5033c47..041d34142922a3f96b3fb35b6dd4ea5b0528b75e 100644 --- a/Mesh/HighOrder.cpp +++ b/Mesh/HighOrder.cpp @@ -628,7 +628,8 @@ void getFaceVertices(GFace *gf, MElement *ele, std::vector<MVertex*> &vf, void reorientTrianglePoints(std::vector<MVertex*>& vtcs,int orientation,bool swap) { - + if (vtcs.size() == 1) return; + size_t nbPts = vtcs.size(); if (nbPts > 3) Msg::Error("Interior face nodes reorientation not supported for order > 4");