Remove compilation warning

This commit is contained in:
Daniel Girardeau-Montaut
2025-05-08 14:29:16 +02:00
parent 0982fd942d
commit 488876e5b1
+1 -1
View File
@@ -77,7 +77,7 @@ GrainsAsEllipsoids::GrainsAsEllipsoids(ccPointCloud *cloud, ccMainAppInterface *
for (auto el : m_fitNotOK)
{
// if the fit is not OK, we use the centroid as a center
int nPoints = m_stacks[el].size();
int nPoints = static_cast<int>(m_stacks[el].size());
Eigen::MatrixX3d points(nPoints, 3);
for (int index = 0; index < nPoints; index++)
{