Skip to content

Commit a5bee15

Browse files
authored
Merge pull request #1096 from borglab/fix/FrobeniusFactor
Frobenius Factor Eigen Fix
2 parents c344562 + e175a95 commit a5bee15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gtsam/slam/FrobeniusFactor.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ class GTSAM_EXPORT FrobeniusPrior : public NoiseModelFactor1<Rot> {
5454
Eigen::Matrix<double, Dim, 1> vecM_; ///< vectorized matrix to approximate
5555

5656
public:
57+
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
58+
5759
/// Constructor
5860
FrobeniusPrior(Key j, const MatrixNN& M,
5961
const SharedNoiseModel& model = nullptr)
@@ -106,6 +108,8 @@ class GTSAM_EXPORT FrobeniusBetweenFactor : public NoiseModelFactor2<Rot, Rot> {
106108
enum { Dim = Rot::VectorN2::RowsAtCompileTime };
107109

108110
public:
111+
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
112+
109113
/// @name Constructor
110114
/// @{
111115

0 commit comments

Comments
 (0)