Fixed assert on words index <0 when addMoreLoopClosures is called

This commit is contained in:
matlabbe
2025-12-18 16:38:13 -08:00
parent af7ff60a6c
commit 26573456c2
3 changed files with 6 additions and 4 deletions
+1
View File
@@ -5638,6 +5638,7 @@ int Rtabmap::detectMoreLoopClosures(
const ProgressState * processState,
float clusterRadiusMin)
{
UDEBUG("");
UASSERT(iterations>0);
if(_graphOptimizer->iterations() <= 0)