mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
backport of a18a1be42d
Fix compilation with gcc-4.6.0, patch provided by Anton Gladky <gladky.anton@gmail.com>, working on debian packaging.
This commit is contained in:
@@ -393,7 +393,7 @@ class FFT
|
||||
for (int k=0;k<nx;++k)
|
||||
*x++ *= s;
|
||||
#else
|
||||
if ( ((ptrdiff_t)x) & 15 )
|
||||
if ( ((std::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