Skip to content

Commit

Permalink
Eigen alignment fix in ExpressionNode and RotateFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbeall committed Dec 7, 2019
1 parent 823de02 commit 7fa705e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gtsam/nonlinear/internal/ExpressionNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ class ConstantExpression: public ExpressionNode<T> {
ExecutionTraceStorage* traceStorage) const {
return constant_;
}

EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};

//-----------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions gtsam/slam/RotateFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class RotateDirectionsFactor: public NoiseModelFactor1<Rot3> {
}
return error;
}

EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};
} // namespace gtsam

0 comments on commit 7fa705e

Please sign in to comment.