Fix conversion warning

This commit is contained in:
Simon Giraudot 2020-12-15 15:44:11 +01:00
parent 360040dfd6
commit a7b2ed13f4
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ namespace CGAL {
const std::ptrdiff_t n,
FT &low,
FT &high) {
const FT xn = double(x) * double(n);
const FT xn = FT(double(x) * double(n));
const FT q = FT(xn * double(UN - x) * (UN - n) / (UN - 1));
const FT sq = CGAL::sqrt(q);
low = (xn - sq) / UN;