Resolve alignment conflict

release/4.3a0
Frank Dellaert 2018-11-05 00:15:21 -05:00
parent 86bd7a785c
commit 7e566aeb16
1 changed files with 6 additions and 0 deletions

View File

@ -326,6 +326,12 @@ public:
ar & BOOST_SERIALIZATION_NVP(t_);
}
/// @}
#ifdef GTSAM_USE_QUATERNIONS
// Align if we are using Quaternions
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
#endif
};
// Pose3 class