We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 822b63c commit 546d604Copy full SHA for 546d604
modules/core/include/lagrange/mesh_cleanup/legacy/resolve_nonmanifoldness.h
@@ -90,7 +90,7 @@ std::unique_ptr<MeshType> resolve_nonmanifoldness(MeshType& mesh)
90
*/
91
auto is_inconsistently_oriented = [&mesh, &get_orientation](const Index ei) -> bool {
92
const auto e = mesh.get_edge_vertices(ei);
93
- std::array<bool, 2> orientations;
+ std::array<bool, 2> orientations{false, false};
94
size_t count = 0;
95
mesh.foreach_facets_around_edge(ei, [&](Index fid) {
96
orientations[count] = get_orientation(e[0], e[1], fid);
0 commit comments