diff --git a/Distance_3/include/CGAL/Distance_3/Segment_3_Segment_3.h b/Distance_3/include/CGAL/Distance_3/Segment_3_Segment_3.h index 58b97d9c890..d9dcb2ef91b 100644 --- a/Distance_3/include/CGAL/Distance_3/Segment_3_Segment_3.h +++ b/Distance_3/include/CGAL/Distance_3/Segment_3_Segment_3.h @@ -198,7 +198,6 @@ compare_squared_distance(const typename K::Segment_3& s1, typedef typename K::FT FT; typedef typename K::Point_3 Point_3; typedef typename K::Vector_3 Vector_3; - typedef typename K::Line_3 Line_3; typename K::Construct_vertex_3 vertex = k.construct_vertex_3_object(); typename K::Construct_vector_3 cv = k.construct_vector_3_object(); diff --git a/Distance_3/include/CGAL/Distance_3/Triangle_3_Triangle_3.h b/Distance_3/include/CGAL/Distance_3/Triangle_3_Triangle_3.h index 6728b2bca61..9bf27fb6c2a 100644 --- a/Distance_3/include/CGAL/Distance_3/Triangle_3_Triangle_3.h +++ b/Distance_3/include/CGAL/Distance_3/Triangle_3_Triangle_3.h @@ -220,7 +220,6 @@ compare_squared_distance_disjoint(const typename K::Triangle_3& tr1, const K& k, const typename K::FT& d2) { - typedef typename K::FT FT; typedef typename K::Segment_3 Segment_3; typename K::Construct_vertex_3 vertex = k.construct_vertex_3_object(); diff --git a/Distance_3/include/CGAL/Distance_3/internal/squared_distance_utils_3.h b/Distance_3/include/CGAL/Distance_3/internal/squared_distance_utils_3.h index 7aef6144006..7a1c5d94606 100644 --- a/Distance_3/include/CGAL/Distance_3/internal/squared_distance_utils_3.h +++ b/Distance_3/include/CGAL/Distance_3/internal/squared_distance_utils_3.h @@ -112,7 +112,7 @@ wdot(const typename K::Point_3 &p, } -static double diff_of_products(const double a, const double b, const double c, const double d) +static double diff_of_products(const double& a, const double& b, const double& c, const double& d) { // Kahan method, less numerical error #if 1 diff --git a/Distance_3/test/Distance_3/test_compare_distance_3.cpp b/Distance_3/test/Distance_3/test_compare_distance_3.cpp index 79c995e7497..35fab5d58eb 100644 --- a/Distance_3/test/Distance_3/test_compare_distance_3.cpp +++ b/Distance_3/test/Distance_3/test_compare_distance_3.cpp @@ -764,8 +764,7 @@ int main() std::cout << "3D Distance tests" << std::endl; - CGAL::Random r(1740152576); - // CGAL::Random r; + CGAL::Random r; std::cout << "random seed = " << r.get_seed() << std::endl; // @todo Some tests are too difficult for these kernels diff --git a/Intersections_3/include/CGAL/Intersections_3/internal/tetrahedron_lines_intersections_3.h b/Intersections_3/include/CGAL/Intersections_3/internal/tetrahedron_lines_intersections_3.h index 4aba04c9e1a..9693b6ce436 100644 --- a/Intersections_3/include/CGAL/Intersections_3/internal/tetrahedron_lines_intersections_3.h +++ b/Intersections_3/include/CGAL/Intersections_3/internal/tetrahedron_lines_intersections_3.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/locate.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/locate.h index 7e804e6d094..e21e0a4a0ed 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/locate.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/locate.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include