aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/FFT
diff options
context:
space:
mode:
authorGravatar Thomas Capricelli <orzel@freehackers.org>2011-05-05 18:48:18 +0200
committerGravatar Thomas Capricelli <orzel@freehackers.org>2011-05-05 18:48:18 +0200
commit883219041fb070be4f7bf4e4fc8c1eb475cea34d (patch)
tree3d98d1fa789477730cfc5a0454eae50ca9217187 /unsupported/Eigen/FFT
parenta18a1be42d35b9de82949eaa54ce5196002da391 (diff)
better fix for gcc 4.6.0 / ptrdiff_t, as suggested by Benoit
Diffstat (limited to 'unsupported/Eigen/FFT')
-rw-r--r--unsupported/Eigen/FFT2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/FFT b/unsupported/Eigen/FFT
index c8f14d845..0b2823058 100644
--- a/unsupported/Eigen/FFT
+++ b/unsupported/Eigen/FFT
@@ -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;