Fix compilation error (Visual Studio 2017)

This commit is contained in:
Daniel Girardeau-Montaut
2025-03-19 23:25:10 +01:00
parent ee03bbd3b0
commit 41f622bb11
+3 -1
View File
@@ -74,9 +74,11 @@ GrainsAsEllipsoids::GrainsAsEllipsoids(ccPointCloud *cloud, ccMainAppInterface *
}
// remove data corresponding to stacks were the fit was not successful
Eigen::Array3f nullArray;
nullArray.fill(NAN);
for (auto el : m_fitNotOK)
{
m_center[el] << NAN, NAN, NAN;
m_center[el] = nullArray;
}
m_ccBBoxAll.setValidity(true);