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

@@ -470,7 +470,7 @@ void SparseLU<MatrixType, OrderingType>::factorize(const MatrixType& matrix)
// Adjust panel size so that a panel won't overlap with the next relaxed snode.
int panel_size = m_perfv.panel_size; // upper bound on panel width
for (k = jcol + 1; k < std::min(jcol+panel_size, n); k++)
for (k = jcol + 1; k < (std::min)(jcol+panel_size, n); k++)
{
if (relax_end(k) != IND_EMPTY)
{