diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2011-05-05 18:48:18 +0200 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2011-05-05 18:48:18 +0200 |
commit | 883219041fb070be4f7bf4e4fc8c1eb475cea34d (patch) | |
tree | 3d98d1fa789477730cfc5a0454eae50ca9217187 /unsupported/Eigen/FFT | |
parent | a18a1be42d35b9de82949eaa54ce5196002da391 (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/FFT | 2 |
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; |