minor fixes for clang in C++11 mode on Mac
parent
5bc4810dcb
commit
70956bb447
|
|
@ -268,7 +268,7 @@ TEST( triangulation, TriangulationFactor ) {
|
|||
Key pointKey(1);
|
||||
SharedNoiseModel model;
|
||||
typedef TriangulationFactor<> Factor;
|
||||
Factor factor(camera1, z1, model, pointKey, sharedCal);
|
||||
Factor factor(camera1, z1, model, pointKey);
|
||||
|
||||
// Use the factor to calculate the Jacobians
|
||||
Matrix HActual;
|
||||
|
|
|
|||
|
|
@ -572,7 +572,7 @@ public:
|
|||
|
||||
FastMap<Key,size_t> KeySlotMap;
|
||||
for (size_t slot=0; slot < allKeys.size(); slot++)
|
||||
KeySlotMap.insert(std::make_pair<Key,size_t>(allKeys[slot],slot));
|
||||
KeySlotMap.insert(std::make_pair(allKeys[slot],slot));
|
||||
|
||||
// a single point is observed in numKeys cameras
|
||||
size_t numKeys = this->keys_.size(); // cameras observing current point
|
||||
|
|
|
|||
Loading…
Reference in New Issue