Skip to content

Commit

Permalink
fix format_tum_gt bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TieJean committed Dec 21, 2023
1 parent 78e0038 commit 4833a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluation/tum/format_tum_gt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int main(int argc, char **argv) {
<< timestamped_poses.size();
}
size_t poseIdx = 0;
for (auto timestamped_pose : timestamped_poses) {
for (auto &timestamped_pose : timestamped_poses) {
timestamped_pose.second = poses.at(poseIdx);
++poseIdx;
}
Expand Down

0 comments on commit 4833a2d

Please sign in to comment.