MSVC needs parentheses around min and max

This commit is contained in:
Desire NUENTSA
2012-09-28 10:44:25 +02:00
parent 87074d97e5
commit b68102d9a2
7 changed files with 12 additions and 12 deletions

View File

@@ -89,7 +89,7 @@ void SparseLUBase<Scalar,Index>::LU_panel_bmod(const int m, const int w, const i
segsize = krep - kfnz + 1;
u_cols++;
u_rows = std::max(segsize,u_rows);
u_rows = (std::max)(segsize,u_rows);
}
// if the blocks are large enough, use level 3