diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-10 19:28:29 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-10 19:28:29 +0400 |
commit | 84b734a4df84afdc8702872f00dd89244815623e (patch) | |
tree | 1d260e9850c7850b41e1bee12dfae776380d47be /extern | |
parent | 25bb441301a52b10ce12efa2adb99f7ce5abddb6 (diff) |
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.
Diffstat (limited to 'extern')
-rw-r--r-- | extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h b/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h index 30cc5fc4a6c..84617c4fa06 100644 --- a/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h +++ b/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h @@ -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; }; |