Fix MSVC compile error in SparseLU

This commit is contained in:
Desire NUENTSA
2012-09-25 09:58:29 +02:00
parent a01371548d
commit 088379ac2f
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
#define EIGEN_SPARSELU_MEMORY
#define LU_NO_MARKER 3
#define LU_NUM_TEMPV(m,w,t,b) (std::max(m, (t+b)*w) )
#define LU_NUM_TEMPV(m,w,t,b) ((std::max)(m, (t+b)*w) )
#define IND_EMPTY (-1)
#define LU_Reduce(alpha) ((alpha + 1) / 2) // i.e (alpha-1)/2 + 1