aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/SparseExtra
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-01-28 16:30:21 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-01-28 16:30:21 +0100
commitc478e0039ee9d7140994758cc365073a2a703f20 (patch)
treeacd284477723ea83a8917b934bc80354a6b5107b /unsupported/Eigen/src/SparseExtra
parent6f2ba1f52bdda2c477828a5ad00af75329d30ca2 (diff)
disable broken determinant for complexes and SuperLU
Diffstat (limited to 'unsupported/Eigen/src/SparseExtra')
-rw-r--r--unsupported/Eigen/src/SparseExtra/SuperLUSupport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/SparseExtra/SuperLUSupport.h b/unsupported/Eigen/src/SparseExtra/SuperLUSupport.h
index a3e2de82e..ffe2bc9af 100644
--- a/unsupported/Eigen/src/SparseExtra/SuperLUSupport.h
+++ b/unsupported/Eigen/src/SparseExtra/SuperLUSupport.h
@@ -630,6 +630,7 @@ void SparseLU<MatrixType,SuperLU>::extractData() const
template<typename MatrixType>
typename SparseLU<MatrixType,SuperLU>::Scalar SparseLU<MatrixType,SuperLU>::determinant() const
{
+ assert((!NumTraits<Scalar>::IsComplex) && "This function is not implemented for complex yet");
if (m_extractedDataAreDirty)
extractData();
@@ -647,7 +648,7 @@ typename SparseLU<MatrixType,SuperLU>::Scalar SparseLU<MatrixType,SuperLU>::dete
det *= m_u._valuePtr()[lastId];
}
}
- // std::cout << m_sluRscale[j] << " " << m_sluCscale[j] << " ";
+// std::cout << m_sluRscale[j] << " " << m_sluCscale[j] << " \n";
}
return det;
}