mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
better fix for gcc 4.6.0 / ptrdiff_t, as suggested by Benoit
This commit is contained in:
@@ -393,7 +393,7 @@ class FFT
|
||||
for (int k=0;k<nx;++k)
|
||||
*x++ *= s;
|
||||
#else
|
||||
if ( ((std::ptrdiff_t)x) & 15 )
|
||||
if ( ((ptrdiff_t)x) & 15 )
|
||||
Matrix<T_Data, Dynamic, 1>::Map(x,nx) *= s;
|
||||
else
|
||||
Matrix<T_Data, Dynamic, 1>::MapAligned(x,nx) *= s;
|
||||
|
||||
Reference in New Issue
Block a user