Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
avisingh599 committed Aug 27, 2015
1 parent c907272 commit dfcfa64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vo_features.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ void featureTracking(Mat img_1, Mat img_2, vector<Point2f>& points1, vector<Poin
if((pt.x<0)||(pt.y<0)) {
status.at(i) = 0;
}
points1.erase (points1.begin() + i - indexCorrection);
points2.erase (points2.begin() + i - indexCorrection);
points1.erase (points1.begin() + (i - indexCorrection));
points2.erase (points2.begin() + (i - indexCorrection));
indexCorrection++;
}

Expand Down

0 comments on commit dfcfa64

Please sign in to comment.