mirror of https://github.com/CGAL/cgal
Tolerance for FT without sqrt (#9053)
Used at a non critical part used for discretization
This commit is contained in:
commit
dc2b48bed4
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue