Skip to content

Commit

Permalink
Remove unused variable from AKAZE.cpp
Browse files Browse the repository at this point in the history
As in title
  • Loading branch information
r-barnes authored Feb 29, 2024
1 parent 8f618a2 commit dd53a2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opensfm/src/third_party/akaze/lib/AKAZE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void AKAZE::Find_Scale_Space_Extrema(std::vector<cv::KeyPoint>& kpts) {
double t1 = 0.0, t2 = 0.0;
float value = 0.0;
float dist = 0.0, ratio = 0.0, smax = 0.0;
int npoints = 0, id_repeated = 0;
int id_repeated = 0;
int sigma_size_ = 0, left_x = 0, right_x = 0, up_y = 0, down_y = 0;
bool is_extremum = false, is_repeated = false, is_out = false;
cv::KeyPoint point;
Expand Down Expand Up @@ -357,7 +357,6 @@ void AKAZE::Find_Scale_Space_Extrema(std::vector<cv::KeyPoint>& kpts) {
point.pt.x *= ratio;
point.pt.y *= ratio;
kpts_aux.push_back(point);
npoints++;
}
else {
point.pt.x *= ratio;
Expand Down

0 comments on commit dd53a2c

Please sign in to comment.