mirror of https://github.com/CGAL/cgal
Revert "Explicitly call Eigen_diagonalize_traits or not"
This reverts commit df78392981.
This commit is contained in:
parent
ff99959414
commit
f90c0ec43c
|
|
@ -32,12 +32,7 @@
|
||||||
#include <CGAL/linear_least_squares_fitting_tetrahedra_3.h>
|
#include <CGAL/linear_least_squares_fitting_tetrahedra_3.h>
|
||||||
#include <CGAL/linear_least_squares_fitting_spheres_3.h>
|
#include <CGAL/linear_least_squares_fitting_spheres_3.h>
|
||||||
|
|
||||||
#ifdef CGAL_EIGEN3_ENABLED
|
#include <CGAL/Default_diagonalize_traits.h>
|
||||||
#include <CGAL/Eigen_diagonalize_traits.h>
|
|
||||||
#else
|
|
||||||
#include <CGAL/Diagonalize_traits.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#include <CGAL/Dimension.h>
|
#include <CGAL/Dimension.h>
|
||||||
|
|
||||||
|
|
@ -85,11 +80,7 @@ linear_least_squares_fitting_3(InputIterator first,
|
||||||
typedef typename std::iterator_traits<InputIterator>::value_type Value_type;
|
typedef typename std::iterator_traits<InputIterator>::value_type Value_type;
|
||||||
typedef typename Kernel_traits<Value_type>::Kernel Kernel;
|
typedef typename Kernel_traits<Value_type>::Kernel Kernel;
|
||||||
return CGAL::linear_least_squares_fitting_3(first,beyond,object,centroid,tag,Kernel(),
|
return CGAL::linear_least_squares_fitting_3(first,beyond,object,centroid,tag,Kernel(),
|
||||||
#ifdef CGAL_EIGEN3_ENABLED
|
Default_diagonalize_traits<typename Kernel::FT, 3>());
|
||||||
Eigen_diagonalize_traits<typename Kernel::FT, 3>());
|
|
||||||
#else
|
|
||||||
Diagonalize_traits<typename Kernel::FT, 3>());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -109,11 +100,7 @@ linear_least_squares_fitting_3(InputIterator first,
|
||||||
typedef typename Kernel_traits<Value_type>::Kernel Kernel;
|
typedef typename Kernel_traits<Value_type>::Kernel Kernel;
|
||||||
typename Kernel::Point_3 centroid; // not used by caller
|
typename Kernel::Point_3 centroid; // not used by caller
|
||||||
return CGAL::linear_least_squares_fitting_3(first,beyond,object,centroid,tag,Kernel(),
|
return CGAL::linear_least_squares_fitting_3(first,beyond,object,centroid,tag,Kernel(),
|
||||||
#ifdef CGAL_EIGEN3_ENABLED
|
Default_diagonalize_traits<typename Kernel::FT, 3>());
|
||||||
Eigen_diagonalize_traits<typename Kernel::FT, 3>());
|
|
||||||
#else
|
|
||||||
Diagonalize_traits<typename Kernel::FT, 3>());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue