Skip to content
Snippets Groups Projects
Commit 1a7c8349 authored by Bertrand Thierry's avatar Bertrand Thierry
Browse files

BoundaryAngles: fix for the first/last point

parent fdf97608
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,6 @@ PView *GMSH_BoundaryAnglesPlugin::execute(PView *v)
}
}
// Handle last elements
nodes[0].push_back(nodes[0][0]);
nodes[0].push_back(nodes[0][1]);
// Compute angle at each point (mod 2pi)
for(std::size_t i = 0; i < nodes[0].size() - 2; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment