From 0a5c2d8a54bf0bdab7a7c68e824002ba163bbdca Mon Sep 17 00:00:00 2001 From: Thomas Capricelli Date: Sat, 27 Mar 2010 18:58:29 +0100 Subject: fix misc warnings, more importantly when NDEBUG is defined, assert() is a nop. --- unsupported/Eigen/FFT | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/FFT') 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 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 -- cgit v1.2.3