From 22bff949c898e7c340a415d771145c0bd22317d6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 21 Jul 2011 11:19:36 +0200 Subject: protect calls to min and max with parentheses to make Eigen compatible with default windows.h (transplanted from 49b6e9143e1d74441924c0c313536e263e12a55c ) --- unsupported/test/FFTW.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/FFTW.cpp') diff --git a/unsupported/test/FFTW.cpp b/unsupported/test/FFTW.cpp index d3676005a..c535fd219 100644 --- a/unsupported/test/FFTW.cpp +++ b/unsupported/test/FFTW.cpp @@ -70,7 +70,7 @@ complex promote(long double x) { return complex( x); { long double totalpower=0; long double difpower=0; - size_t n = min( buf1.size(),buf2.size() ); + size_t n = (min)( buf1.size(),buf2.size() ); for (size_t k=0;k