Skip to content

Commit

Permalink
Merge pull request #185 from borglab/fix/eigen-alignment-expression-a…
Browse files Browse the repository at this point in the history
…nd-rotate-factor

Eigen alignment fix in ExpressionNode and RotateFactor
  • Loading branch information
chrisbeall authored Dec 8, 2019
2 parents 823de02 + 7fa705e commit 60d820e
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 60d820e

Please sign in to comment.