Even better performance figures in Poisson reconstruction through less pre-allocation in CGAL::Eigen_matrix

This commit is contained in:
Andreas Fabri 2012-05-02 09:42:30 +00:00
parent 85c526238e
commit 18f01f2334
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public:
m_is_symmetric = is_symmetric;
// reserve memory for a regular 3D grid
m_triplets.reserve(dim*27);
m_triplets.reserve(dim*1);
}
/// Create a rectangular matrix initialized with zeros.
@ -78,7 +78,7 @@ public:
m_is_symmetric = is_symmetric;
// reserve memory for a regular 3D grid
m_triplets.reserve(rows*27);
m_triplets.reserve(rows*1);
}
/// Delete this object and the wrapped TAUCS matrix.