Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
raulmur authored Jan 20, 2017
1 parent 50a806c commit d4c8858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FrameDrawer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ cv::Mat FrameDrawer::DrawFrame()
mnTracked=0;
mnTrackedVO=0;
const float r = 5;
for(int i=0;i<N;i++)
const int n = vCurrentKeys.size();
for(int i=0;i<n;i++)
{
if(vbVO[i] || vbMap[i])
{
Expand Down

0 comments on commit d4c8858

Please sign in to comment.