diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2010-03-27 18:58:29 +0100 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2010-03-27 18:58:29 +0100 |
commit | 0a5c2d8a54bf0bdab7a7c68e824002ba163bbdca (patch) | |
tree | d466a05a6dfc949a2701dc2575b1449dd476c324 /unsupported | |
parent | af08770890acdc6f78e9a4730c543b6bd1aadd3a (diff) |
fix misc warnings, more importantly when NDEBUG is defined, assert() is a
nop.
Diffstat (limited to 'unsupported')
-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 83f761028..23e0275b2 100644 --- a/unsupported/Eigen/FFT +++ b/unsupported/Eigen/FFT @@ -320,7 +320,7 @@ class FFT // if the vector is strided, then we need to copy it to a packed temporary Matrix<src_type,1,Dynamic> tmp; if ( resize_input ) { - size_t ncopy = min(src.size(),src.size() + resize_input); + size_t ncopy = std::min(src.size(),src.size() + resize_input); tmp.setZero(src.size() + resize_input); if ( realfft && HasFlag(HalfSpectrum) ) { // pad at the Nyquist bin |