Skip to content

Commit 8427979

Browse files
Merge pull request #2016 from arcaneframework/dev/gg-fix-bad-comparison-in-itemsownerbuilder
Fix bad comparison for boundary faces in `ItemsOwnerBuilder`
2 parents b5f8c4b + 5b19f87 commit 8427979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcane/src/arcane/mesh/ItemsOwnerBuilder.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ computeNodesOwner()
302302
UniqueArray<Int32> nodes_to_add;
303303
faces_map.eachItem([&](Face face) {
304304
Int32 face_nb_cell = face.nbCell();
305-
if (face_nb_cell == 1)
305+
if (face_nb_cell == 2)
306306
return;
307307
for (Node node : face.nodes()) {
308308
Int32 node_id = node.localId();

0 commit comments

Comments
 (0)