Skip to content

Commit

Permalink
Changed condition to set pKFm
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanseq committed Jul 4, 2022
1 parent 98af0c3 commit f3c8f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sim3Solver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Sim3Solver::Sim3Solver(KeyFrame *pKF1, KeyFrame *pKF2, const vector<MapPoint *>
if(pMP1->isBad() || pMP2->isBad())
continue;

if(bDifferentKFs)
if(!bDifferentKFs)
pKFm = vpKeyFrameMatchedMP[i1];

int indexKF1 = get<0>(pMP1->GetIndexInKeyFrame(pKF1));
Expand Down

0 comments on commit f3c8f3c

Please sign in to comment.