mirror of https://github.com/CGAL/cgal
Fix conversion warnings AGAIN
This commit is contained in:
parent
c9a331ec19
commit
fe3da4cc9f
|
|
@ -135,7 +135,7 @@ linear_least_squares_fitting_2(InputIterator first,
|
||||||
// isotropic case (infinite number of directions)
|
// isotropic case (infinite number of directions)
|
||||||
// by default: assemble a line that goes through
|
// by default: assemble a line that goes through
|
||||||
// the centroid and with a default horizontal vector.
|
// 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;
|
return (FT)0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ linear_least_squares_fitting_2(InputIterator first,
|
||||||
// isotropic case (infinite number of directions)
|
// isotropic case (infinite number of directions)
|
||||||
// by default: assemble a line that goes through
|
// by default: assemble a line that goes through
|
||||||
// the centroid and with a default horizontal vector.
|
// 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;
|
return (FT)0.0;
|
||||||
}
|
}
|
||||||
} // end linear_least_squares_fitting_2 for rectangle set with 2D tag
|
} // end linear_least_squares_fitting_2 for rectangle set with 2D tag
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@ linear_least_squares_fitting_2(InputIterator first,
|
||||||
// isotropic case (infinite number of directions)
|
// isotropic case (infinite number of directions)
|
||||||
// by default: assemble a line that goes through
|
// by default: assemble a line that goes through
|
||||||
// the centroid and with a default horizontal vector.
|
// 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;
|
return (FT)0.0;
|
||||||
}
|
}
|
||||||
} // end linear_least_squares_fitting_2 for triangle set with 2D tag
|
} // end linear_least_squares_fitting_2 for triangle set with 2D tag
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue