mirror of https://github.com/CGAL/cgal
Fix conversion warning
This commit is contained in:
parent
360040dfd6
commit
a7b2ed13f4
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue