Skip to content

Commit d4c8858

Browse files
authored
Fix bug
1 parent 50a806c commit d4c8858

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FrameDrawer.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ cv::Mat FrameDrawer::DrawFrame()
9191
mnTracked=0;
9292
mnTrackedVO=0;
9393
const float r = 5;
94-
for(int i=0;i<N;i++)
94+
const int n = vCurrentKeys.size();
95+
for(int i=0;i<n;i++)
9596
{
9697
if(vbVO[i] || vbMap[i])
9798
{

0 commit comments

Comments
 (0)