get rid of some warnings

This commit is contained in:
Andreas Fabri 2008-10-18 14:30:08 +00:00
parent 620de7792e
commit dd34bbb8f4
1 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ void test_2D()
typedef typename Kernel::Triangle_2 Triangle_2; typedef typename Kernel::Triangle_2 Triangle_2;
std::vector<Point_2> points; std::vector<Point_2> points;
points.push_back(Point_2(0.0,0.0)); points.push_back(Point_2(FT(0),FT(0)));
// fit a line // fit a line
// call all versions of the function // call all versions of the function
@ -56,8 +56,8 @@ void test_2D_point_set(const unsigned int nb_points)
typedef typename Kernel::Triangle_2 Triangle_2; typedef typename Kernel::Triangle_2 Triangle_2;
// create points on a horizontal segment // create points on a horizontal segment
Point_2 p(0.0,0.5); Point_2 p(FT(0.0),FT(0.5));
Point_2 q(1.0,0.5); Point_2 q(FT(1.0),FT(0.5));
std::cout << "generate " << nb_points << std::cout << "generate " << nb_points <<
" 2D points on a horizontal line..."; " 2D points on a horizontal line...";