From aafb8774125dcd3bb0ad45d36a29bf36423aa91f Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 15 Jul 2024 16:32:11 +0300 Subject: [PATCH] AM-73 [BLOCKER] AM crashes on comparison --- analyze/algorithm/BfsObjectDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyze/algorithm/BfsObjectDetector.cpp b/analyze/algorithm/BfsObjectDetector.cpp index 52060c9..c6cc737 100644 --- a/analyze/algorithm/BfsObjectDetector.cpp +++ b/analyze/algorithm/BfsObjectDetector.cpp @@ -30,7 +30,7 @@ namespace am::analyze::algorithm void checkClosest(size_t rowId, size_t colId, Pixels &nextCheck, ObjectRectangle &object, ImageRowSegment &row, const size_t width, const size_t step) noexcept { - if (static_cast(rowId - step) >= row.start) + if (static_cast(rowId - step) >= static_cast(row.start)) { // mv: commented in sake of optimization // pushCheckIfNew(object, nextCheck, rowId - step, colId);