diff --git a/vcg/complex/algorithms/parametrization/poisson_solver.h b/vcg/complex/algorithms/parametrization/poisson_solver.h index e47e8e6b..64eac4d5 100644 --- a/vcg/complex/algorithms/parametrization/poisson_solver.h +++ b/vcg/complex/algorithms/parametrization/poisson_solver.h @@ -24,14 +24,9 @@ #ifndef VCG_POISSON_SOLVER #define VCG_POISSON_SOLVER -#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET #include -#include -#include #include -#include -#include #include #include @@ -60,7 +55,7 @@ class PoissonSolver ///unknown vector - Eigen::DynamicSparseMatrix A; // A + Eigen::SparseMatrix A; // A Eigen::VectorXd b,x;// x and b //number of variables @@ -450,7 +445,7 @@ class PoissonSolver void AllocateSystem() { //--- Allocates the data for Ax=b - A=Eigen::DynamicSparseMatrix(total_size, total_size); // A + A=Eigen::SparseMatrix(total_size, total_size); // A b = Eigen::VectorXd::Zero(total_size); // x and b }