fix bug in restore.

This commit is contained in:
Vladyslav Usenko 2020-10-30 12:14:11 +01:00
parent cf9b54eec1
commit a5ac63f021
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ class BundleAdjustmentBase {
inline void restore() {
for (auto& kv : frame_states) kv.second.restore();
for (auto& kv : frame_poses) kv.second.backup();
for (auto& kv : frame_poses) kv.second.restore();
lmdb.restore();
}