Skip to content

Commit 6a5e20e

Browse files
committed
fix compilation issue
1 parent faf98fa commit 6a5e20e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AABB_tree/include/CGAL/AABB_sphere_primitive_3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace internal {
4040
get(Self, key_type it)
4141
{
4242
const typename GeomTraits::Point_3 c = it->center();
43-
typename FT r = sqrt(it->squared_radius());
43+
typename GeomTraits::FT r = approximate_sqrt(it->squared_radius());
4444
return typename GeomTraits::Point_3(c.x(), c.y(), c.z() + r);
4545
}
4646
};

0 commit comments

Comments
 (0)