Fix conversion warnings AGAIN

This commit is contained in:
Simon Giraudot 2021-04-14 09:45:06 +02:00
parent c9a331ec19
commit fe3da4cc9f
3 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ linear_least_squares_fitting_2(InputIterator first,
// isotropic case (infinite number of directions)
// by default: assemble a line that goes through
// the centroid and with a default horizontal vector.
line = Line(c, Vector(1.0, 0.0));
line = Line(c, Vector(FT(1), FT(0)));
return (FT)0.0;
}

View File

@ -139,7 +139,7 @@ linear_least_squares_fitting_2(InputIterator first,
// isotropic case (infinite number of directions)
// by default: assemble a line that goes through
// the centroid and with a default horizontal vector.
line = Line(c, Vector(1.0, 0.0));
line = Line(c, Vector(FT(1), FT(0)));
return (FT)0.0;
}
} // end linear_least_squares_fitting_2 for rectangle set with 2D tag

View File

@ -138,7 +138,7 @@ linear_least_squares_fitting_2(InputIterator first,
// isotropic case (infinite number of directions)
// by default: assemble a line that goes through
// the centroid and with a default horizontal vector.
line = Line(c, Vector(1.0, 0.0));
line = Line(c, Vector(FT(1), FT(0)));
return (FT)0.0;
}
} // end linear_least_squares_fitting_2 for triangle set with 2D tag