address PR comments
parent
2c569c1fdd
commit
8b4fbb1d7b
|
@ -21,7 +21,6 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <gtsam/dllexport.h>
|
||||
|
||||
#include <gtsam/dllexport.h>
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue