mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix memory alignment (hence vectorization) on MSVC thanks to help from Armin Berres.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user