From 8b4a95fe6173ddd3d2e2d6156ab19ddeb52598ee Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Thu, 7 May 2026 17:12:34 -0400 Subject: [PATCH] Fix extraction of too many point features --- form/feature/extraction.tpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/form/feature/extraction.tpp b/form/feature/extraction.tpp index bf91921..2e3536b 100644 --- a/form/feature/extraction.tpp +++ b/form/feature/extraction.tpp @@ -395,6 +395,9 @@ void FeatureExtractor::extract_point(const size_t §or_start_point, if (num_sector_point_features > params.point_feats_per_sector) break; } + // Early exit if we have found enough features + if (num_sector_point_features > params.point_feats_per_sector) + break; } }