Fix memory alignment (hence vectorization) on MSVC thanks to help from Armin Berres.

This commit is contained in:
Benoit Jacob
2008-12-15 15:54:33 +00:00
parent d11c8704e0
commit 703951d5cd
3 changed files with 16 additions and 2 deletions

View File

@@ -44,6 +44,10 @@
#include <cstring>
#include <string>
#if(defined(_MSC_VER) && defined(EIGEN_VECTORIZE))
#include <malloc.h> // for _aligned_malloc
#endif
namespace Eigen {
/** \defgroup Core_Module Core module