From ce9c2c16611a9deabe0fd94f4138ba7b11b1927b Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 25 Feb 2014 17:39:51 +0000 Subject: [PATCH] Updated the use of eigen sparse matrix to the current official version (was using the old experimental branch) --- vcg/complex/algorithms/parametrization/poisson_solver.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 }