mirror of https://github.com/CGAL/cgal
int -> size_type/std::size_t
This commit is contained in:
parent
b1e5acb765
commit
cea0252467
|
|
@ -95,8 +95,8 @@ operator()( const char* filename1, const char* filename2 )
|
|||
std::cout << "segment tree ...... " << std::flush;
|
||||
timer.reset();
|
||||
timer.start();
|
||||
const unsigned int n = boxes1.size();
|
||||
const unsigned int cutoff = n < 2000 ? 6 : n / 100;
|
||||
const std::size_t n = boxes1.size();
|
||||
const std::size_t cutoff = n < 2000 ? 6 : n / 100;
|
||||
CGAL::box_intersection_custom_predicates_d( boxes1.begin(), boxes1.end(),
|
||||
boxes2.begin(), boxes2.end(),
|
||||
callback3,
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ test_n( unsigned int n, std::ostream& outfile )
|
|||
typename Uti1::Counter_callback callback1, callback2;
|
||||
CGAL::Timer timer, timer_scan;
|
||||
double time, time_scan;
|
||||
unsigned int problemsize = boxes1.size() + boxes2.size();
|
||||
std::size_t problemsize = boxes1.size() + boxes2.size();
|
||||
unsigned int cutoff = 0;
|
||||
unsigned int stepsize = 500;
|
||||
double last_time = 1e30;
|
||||
|
|
|
|||
Loading…
Reference in New Issue