diff --git a/Solver_interface/include/CGAL/Eigen_matrix.h b/Solver_interface/include/CGAL/Eigen_matrix.h index d7e98627474..3db27191cb2 100644 --- a/Solver_interface/include/CGAL/Eigen_matrix.h +++ b/Solver_interface/include/CGAL/Eigen_matrix.h @@ -59,7 +59,7 @@ public: m_is_symmetric = is_symmetric; // reserve memory for a regular 3D grid - m_triplets.reserve(dim*1); + m_triplets.reserve(dim); } /// 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*1); + m_triplets.reserve(rows); } /// Delete this object and the wrapped TAUCS matrix.