Bug when running several times the classification corrected

This commit is contained in:
Paul Leroy
2023-05-31 00:20:19 +02:00
parent bcc77db21f
commit 4f6cd5fe6d
9 changed files with 11 additions and 37 deletions
+1 -2
View File
@@ -73,11 +73,10 @@ CCCoreLib::ScalarField* Feature::PrepareSF(ccPointCloud* cloud, const char* resu
}
resultSF = newSF;
resultSF->fill(CCCoreLib::NAN_VALUE);
}
assert(resultSF);
resultSF->fill(CCCoreLib::NAN_VALUE);
return resultSF;
}