Open alaingdl opened 2 years ago
Sorry for the quick message, but no time at that time. It seems that just adding
#include <algorithm>
is enough from my preliminary tests (may be Eigen3
is doing that include ?)
But I have a side effect unclear for me : if -DEIGEN3=off then DSFMT is not activated. Why ? @GillesDuvert
dSFMT outputs need to be in aligned memory variables. Until now (C++11) this was only ascertained if Eigen:: was used, since in this case only all memory allocations are made with EIGEN_ALIGN16 in the GDL (historical) code and the gdlAlignedMalloc() function.
It is now perfectly possible to insure 16 (and, probably better, 32) alignments without resorting to Eigen::, and that would be a great improvement.
indeed eigen/core.h includes