projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29d1bce
)
remove unused variables in CV_KDTreeTest_CPP::findNeighbors()
author
Maks Naumov
<maksqwe1@ukr.net>
Wed, 9 Apr 2014 20:07:48 +0000
(23:07 +0300)
committer
Maks Naumov
<maksqwe1@ukr.net>
Wed, 9 Apr 2014 20:07:48 +0000
(23:07 +0300)
modules/features2d/test/test_nearestneighbors.cpp
patch
|
blob
|
history
diff --git
a/modules/features2d/test/test_nearestneighbors.cpp
b/modules/features2d/test/test_nearestneighbors.cpp
index
45131ef
..
8d1ecfd
100644
(file)
--- a/
modules/features2d/test/test_nearestneighbors.cpp
+++ b/
modules/features2d/test/test_nearestneighbors.cpp
@@
-214,8
+214,6
@@
int CV_KDTreeTest_CPP::findNeighbors( Mat& points, Mat& neighbors )
const int emax = 20;
Mat neighbors2( neighbors.size(), CV_32SC1 );
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++ )
{
// 1st way