Fix region ids

This commit is contained in:
Laurent Rineau 2023-03-16 14:11:05 +01:00
parent 549ff7bdb0
commit aecc195697
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ private:
const auto fh_region = region(cdt_2, fh);
processed_faces.insert(fh_region.begin(), fh_region.end());
try {
restore_subface_region(face_index, ++region_count, cdt_2, fh_region);
restore_subface_region(face_index, region_count++, cdt_2, fh_region);
}
catch(Next_face& e) {
std::cerr << "ERROR: " << e.what() << " in sub-region " << (region_count - 1)