diff --git a/Intersections_3/test/Intersections_3/test_intersections_Iso_cuboid_3.cpp b/Intersections_3/test/Intersections_3/test_intersections_Iso_cuboid_3.cpp index caf511216a1..ca26038d94d 100644 --- a/Intersections_3/test/Intersections_3/test_intersections_Iso_cuboid_3.cpp +++ b/Intersections_3/test/Intersections_3/test_intersections_Iso_cuboid_3.cpp @@ -441,7 +441,7 @@ public: } // generic inside - for(int i=0; ir.get_int(this->m, this->M); int my = this->r.get_int(this->m, this->M); @@ -472,7 +472,7 @@ public: Md = (std::max)((std::max)(My - y, y - my), Md); Md = (std::max)((std::max)(Mz - z, z - mz), Md); - check_do_intersect(cub, Sph(c, CGAL::square(this->r.get_int(md, Md)))); + check_do_intersect(cub, Sph(c, CGAL::square((md + Md)>>1))); } }