From 2ecb4addaf05d62ac3293a04b982497bd98d1c55 Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Wed, 26 Feb 2020 11:37:46 +0100 Subject: [PATCH] Add Eigen align macro --- include/IMU/factor/factor_IMU.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/IMU/factor/factor_IMU.h b/include/IMU/factor/factor_IMU.h index f5715095b..60c94a928 100644 --- a/include/IMU/factor/factor_IMU.h +++ b/include/IMU/factor/factor_IMU.h @@ -147,6 +147,8 @@ class FactorIMU : public FactorAutodiff<FactorIMU, 15, 3, 4, 3, 6, 3, 4, 3, 6> const Eigen::Matrix3d sqrt_A_r_dt_inv; const Eigen::Matrix3d sqrt_W_r_dt_inv; + public: + EIGEN_MAKE_ALIGNED_OPERATOR_NEW; }; ///////////////////// IMPLEMENTAITON //////////////////////////// -- GitLab