Skip to content

Commit

Permalink
AM-73 [BLOCKER] AM crashes on comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ben authored and MaksymT17 committed Jul 15, 2024
1 parent 2ff56b2 commit aafb877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyze/algorithm/BfsObjectDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>(rowId - step) >= row.start)
if (static_cast<int>(rowId - step) >= static_cast<int>(row.start))
{
// mv: commented in sake of optimization
// pushCheckIfNew(object, nextCheck, rowId - step, colId);
Expand Down

0 comments on commit aafb877

Please sign in to comment.