diff --git a/modules/features2d/src/agast.cpp b/modules/features2d/src/agast.cpp index 01532a538c..2352c15afb 100644 --- a/modules/features2d/src/agast.cpp +++ b/modules/features2d/src/agast.cpp @@ -7665,6 +7665,7 @@ void AGAST(InputArray _img, std::vector& keypoints, int threshold, boo if (keypoints[j - 1].response == -1) keypoints.erase(keypoints.begin() + j - 1 ); } + } }