mirror of https://github.com/CGAL/cgal
int -> size_t
This commit is contained in:
parent
2328885e90
commit
910b549c62
|
|
@ -204,7 +204,7 @@ class Min_ellipse_2 {
|
|||
// random access for support points
|
||||
inline
|
||||
const Point&
|
||||
support_point( int i) const
|
||||
support_point( std::size_t i) const
|
||||
{
|
||||
CGAL_optimisation_precondition( (i >= 0) &&
|
||||
(i < number_of_support_points()));
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ cover_Min_ellipse_2( bool verbose, const Traits&, const RT&)
|
|||
const int n = 20;
|
||||
CGAL::Random random_x, random_y;
|
||||
Point random_points[ n];
|
||||
int i;
|
||||
std::size_t i;
|
||||
verr << endl << n << " random points from [0,128)^2:" << endl;
|
||||
for ( i = 0; i < n; ++i) {
|
||||
random_points[ i] = Point( RT( random_x( 128)),
|
||||
|
|
|
|||
Loading…
Reference in New Issue