From 95755d2992d0644f44fca2acf1fbb93935cadccd Mon Sep 17 00:00:00 2001 From: Pierre Alliez Date: Fri, 15 Feb 2008 12:06:57 +0000 Subject: [PATCH] PCA: tried fixing a compilation error of the test suite --- .../linear_least_squares_fitting_points_2.cpp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_points_2.cpp b/Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_points_2.cpp index 4051cfc90e2..87a2231726a 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_points_2.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_points_2.cpp @@ -15,11 +15,11 @@ template void test_2D() { - typedef Kernel::FT FT; - typedef Kernel::Line_2 Line_2; - typedef Kernel::Point_2 Point_2; - typedef Kernel::Triangle_2 Triangle_2; - typedef Kernel::Vector_2 Vector_2; + typedef typename Kernel::FT FT; + typedef typename Kernel::Line_2 Line_2; + typedef typename Kernel::Point_2 Point_2; + typedef typename Kernel::Vector_2 Vector_2; + typedef typename Kernel::Triangle_2 Triangle_2; std::vector points; points.push_back(Point_2(0.0,0.0)); @@ -49,11 +49,11 @@ void test_2D() template void test_2D_point_set(const unsigned int nb_points) { - typedef Kernel::FT FT; - typedef Kernel::Line_2 Line_2; - typedef Kernel::Point_2 Point_2; - typedef Kernel::Triangle_2 Triangle_2; - typedef Kernel::Vector_2 Vector_2; + typedef typename Kernel::FT FT; + typedef typename Kernel::Line_2 Line_2; + typedef typename Kernel::Point_2 Point_2; + typedef typename Kernel::Vector_2 Vector_2; + typedef typename Kernel::Triangle_2 Triangle_2; // create points on a horizontal segment Point_2 p(0.0,0.5);