mirror of https://github.com/CGAL/cgal
*explicit overloads for Eigen_vector::operator=
*include Taucs header if detected in param. test
This commit is contained in:
parent
6e1df30eff
commit
5de506608d
|
|
@ -42,14 +42,13 @@ public:
|
|||
// Public operations
|
||||
public:
|
||||
|
||||
#ifndef CGAL_CFG_MATCHING_BUG_6
|
||||
using EigenType::operator=;
|
||||
#else
|
||||
Eigen_vector<T>& operator=(const Eigen_vector<T>& other){
|
||||
return static_cast<EigenType&>(*this) = other.eigen_object();
|
||||
}
|
||||
#endif
|
||||
|
||||
Eigen_vector<T>& operator=(const EigenType& other){
|
||||
return static_cast<EigenType&>(*this) = other;
|
||||
}
|
||||
|
||||
/// Create a vector initialized with zeros.
|
||||
Eigen_vector(int dimension)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@
|
|||
#include <CGAL/OpenNL/linear_solver.h>
|
||||
#ifdef CGAL_EIGEN3_ENABLED
|
||||
#include <CGAL/Eigen_solver_traits.h>
|
||||
#elif defined(CGAL_USE_TAUCS)
|
||||
#endif
|
||||
#ifdef CGAL_USE_TAUCS
|
||||
#include <CGAL/Taucs_solver_traits.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue