diff --git a/Intersections_3/test/Intersections_3/test_intersections_Plane_3.cpp b/Intersections_3/test/Intersections_3/test_intersections_Plane_3.cpp index 565a1e697ad..9f6151dcba5 100644 --- a/Intersections_3/test/Intersections_3/test_intersections_Plane_3.cpp +++ b/Intersections_3/test/Intersections_3/test_intersections_Plane_3.cpp @@ -232,6 +232,10 @@ public: if(pln.has_on(sph5)) continue; + Tet tet{pl0, pl1, sph5, sph4}; + if(tet.is_degenerate()) + continue; + sph = Sph(pl0, pl1, sph5, sph4); check_intersection(pln, sph, C(pln, sph)); @@ -240,7 +244,7 @@ public: continue; // The sphere constructor will assert on degenerate positions - const Tet tet(pl0, sph6, sph5, sph4); + tet = Tet{pl0, sph6, sph5, sph4}; if(tet.is_degenerate()) continue; @@ -428,6 +432,8 @@ int main(int, char**) std::cout.precision(17); std::cerr.precision(17); + CGAL::Set_ieee_double_precision pfr; + CGAL::Random r; std::cout << "random seed = " << r.get_seed() << std::endl;