Tolerance for FT without sqrt (#9053)

Used at a non critical part used for discretization
This commit is contained in:
Sebastien Loriot 2025-09-03 16:37:43 +02:00 committed by GitHub
commit dc2b48bed4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public:
}
int compute_k(const FT tt, const FT STEP) const {
return int(CGAL::to_double(CGAL::sqrt(tt / STEP)));
return int(CGAL::to_double(CGAL::approximate_sqrt(tt / STEP)));
}
// s0 and s1 define a desired drawing "range"