diff options
author | 2008-05-02 13:30:12 +0000 | |
---|---|---|
committer | 2008-05-02 13:30:12 +0000 | |
commit | 102e029dad8b756d65f48e3cc0b8cdb07a48dd87 (patch) | |
tree | ea9292698a533146e3e884fa5cc61adf7e4b090a /Eigen/Core | |
parent | e19f9bc52308b067457c7e2db3eba208966b267f (diff) |
Removed ei_pload1, use posix_memalign to allocate aligned memory,
and make Product ok when only one side is vectorizable (and the product
is still vectorized)
Diffstat (limited to 'Eigen/Core')
-rw-r--r-- | Eigen/Core | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core index b22c0a0ba..02b2132e2 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -10,6 +10,11 @@ #endif #endif +#ifdef EIGEN_VECTORIZE +// it seems we cannot assume posix_memalign is defined in the stdlib header +extern "C" int posix_memalign (void **, size_t, size_t) throw (); +#endif + #include <cstdlib> #include <cmath> #include <complex> |