diff --git a/modules/objdetect/src/erfilter.cpp b/modules/objdetect/src/erfilter.cpp index dc8f18caf6..e942094b1d 100644 --- a/modules/objdetect/src/erfilter.cpp +++ b/modules/objdetect/src/erfilter.cpp @@ -2934,7 +2934,6 @@ void erGrouping(InputArrayOfArrays _src, vector > ®ions, const float a1=((int)meaningful_clusters.at(i).size()*sumxy-sumx*sumy) / ((int)meaningful_clusters.at(i).size()*sumx2-sumx*sumx); - vector data; if (a1 != a1) data_arrays.at(i).push_back(1.f); else