Closed sloriot closed 3 months ago
I suggest you add a test for the corresponding issue.
... The reason is that there was necessarily a warning, in the original code (when the ID
type is not size_t
). There might be other interesting warnings.
If ID == unsigned int
, we had:
warning: comparison is always true due to limited range of data type [-Wtype-limits]
If
ID == unsigned int
, we had:warning: comparison is always true due to limited range of data type [-Wtype-limits]
That is what I mean. I suggest to add tests so that PMP is also tested with such inputs: when the ranges of indices is a range of int
or unsigned int
. That is quite common, for the graphics community as far as I know.
Successfully tested in CGAL-6.0-Ic-264
if
ID = unsigned int
, this can lead to an infinite loop