Merge pull request #7907 from sloriot/T3-OFB_warning

Prevent out-of-bound warnings

# Conflicts:
#	TDS_3/include/CGAL/Triangulation_utils_3.h
This commit is contained in:
Laurent Rineau 2023-12-11 13:55:20 +01:00
commit ca2d5ef58c
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ struct Triangulation_utils_3
CGAL_precondition( ( i >= 0 && i < 4 ) &&
( j >= 0 && j < 4 ) &&
( i != j ) );
CGAL_assume(i!=j);
return tab_next_around_edge[i][j];
}