address PR comments

release/4.3a0
Varun Agrawal 2023-08-01 10:54:48 -04:00
parent 2c569c1fdd
commit 8b4fbb1d7b
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@
#include <optional>
#include <string>
#include <vector>
#include <gtsam/dllexport.h>
#include <gtsam/dllexport.h>

View File

@ -273,7 +273,7 @@ class CameraSet : public std::vector<CAMERA, Eigen::aligned_allocator<CAMERA>> {
// Get map from key to location in the new augmented Hessian matrix (the
// one including only unique keys).
std::map<Key, uint32_t> keyToSlotMap;
std::map<Key, size_t> keyToSlotMap;
for (size_t k = 0; k < nrUniqueKeys; k++) {
keyToSlotMap[hessianKeys[k]] = k;
}