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)
This commit is contained in:
Gael Guennebaud
2008-05-02 13:30:12 +00:00
parent e19f9bc523
commit 102e029dad
4 changed files with 73 additions and 35 deletions

View File

@@ -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>