Commit eb89f520 authored by Maks Naumov's avatar Maks Naumov

remove unused variables in CV_KDTreeTest_CPP::findNeighbors()

parent 29d1bce8
...@@ -214,8 +214,6 @@ int CV_KDTreeTest_CPP::findNeighbors( Mat& points, Mat& neighbors ) ...@@ -214,8 +214,6 @@ int CV_KDTreeTest_CPP::findNeighbors( Mat& points, Mat& neighbors )
const int emax = 20; const int emax = 20;
Mat neighbors2( neighbors.size(), CV_32SC1 ); Mat neighbors2( neighbors.size(), CV_32SC1 );
int j; int j;
vector<float> min(points.cols, static_cast<float>(minValue));
vector<float> max(points.cols, static_cast<float>(maxValue));
for( int pi = 0; pi < points.rows; pi++ ) for( int pi = 0; pi < points.rows; pi++ )
{ {
// 1st way // 1st way
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment