Default constructor now default
parent
539401664b
commit
9c525c2e7f
|
@ -187,8 +187,8 @@ public:
|
||||||
typedef Eigen::Matrix<double, dimension, 1> TangentVector;
|
typedef Eigen::Matrix<double, dimension, 1> TangentVector;
|
||||||
typedef OptionalJacobian<dimension, dimension> ChartJacobian;
|
typedef OptionalJacobian<dimension, dimension> ChartJacobian;
|
||||||
|
|
||||||
/// Default constructor yields identity
|
/// Default constructor needs default constructors to be defined
|
||||||
ProductManifold():std::pair<M1,M2>(traits<M1>::Identity(),traits<M2>::Identity()) {}
|
ProductManifold():std::pair<M1,M2>(M1(),M2()) {}
|
||||||
|
|
||||||
// Construct from two original manifold values
|
// Construct from two original manifold values
|
||||||
ProductManifold(const M1& m1, const M2& m2):std::pair<M1,M2>(m1,m2) {}
|
ProductManifold(const M1& m1, const M2& m2):std::pair<M1,M2>(m1,m2) {}
|
||||||
|
|
Loading…
Reference in New Issue