[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47687] trunk/blender/extern/libmv/ third_party/ceres/include/ceres/internal/fixed_array.h: Commit patch from Stephan Kassemeyer sent to ML

Sergey Sharybin sergey.vfx at gmail.com
Sun Jun 10 17:28:30 CEST 2012


Revision: 47687
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47687
Author:   nazgul
Date:     2012-06-10 15:28:29 +0000 (Sun, 10 Jun 2012)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h

Modified: trunk/blender/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h
===================================================================
--- trunk/blender/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h	2012-06-10 15:28:19 UTC (rev 47686)
+++ trunk/blender/extern/libmv/third_party/ceres/include/ceres/internal/fixed_array.h	2012-06-10 15:28:29 UTC (rev 47687)
@@ -136,6 +136,7 @@
   // 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;
   };
 




More information about the Bf-blender-cvs mailing list