Commit patch from Stephan Kassemeyer sent to ML

This patch aims to solve unaligned operation assert
happens in Eigen library.

This is short-term solution which in fact shall be reverted
as soon as real solution would be added to Ceres. Meanwhile
this should be acceptable to have for a while.
This commit is contained in:
Sergey Sharybin 2012-06-10 15:28:29 +00:00
parent 25bb441301
commit 84b734a4df

@ -136,6 +136,7 @@ class FixedArray {
// and T must be the same, otherwise callers' assumptions about use
// of this code will be broken.
struct InnerContainer {
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
T element;
};