Fix JacobianFactor and HessianFactor on platforms where Eigen::Index is not the same size as gtsam::Key
Fix JacobianFactor and HessianFactor on platforms where Eigen::Index is not the same size as gtsam::Key Eigen::Index is defined as std::ptrdiff_t (size_t), which is not always the same size as gtsam::Key (uint64)release/4.3a0
parent
4abef9248e
commit
1a591ace59
|
@ -40,8 +40,8 @@ using namespace std;
|
|||
namespace gtsam {
|
||||
|
||||
// Typedefs used in constructors below.
|
||||
using Dims = std::vector<Eigen::Index>;
|
||||
using Pairs = std::vector<std::pair<Eigen::Index, Matrix>>;
|
||||
using Dims = std::vector<Key>;
|
||||
using Pairs = std::vector<std::pair<Key, Matrix>>;
|
||||
|
||||
/* ************************************************************************* */
|
||||
JacobianFactor::JacobianFactor() :
|
||||
|
|
Loading…
Reference in New Issue