Fix UmfPackLU ctor for exppressions

This commit is contained in:
Gael Guennebaud 2015-11-27 22:04:22 +01:00
parent 6bdeb8cfbe
commit afa11d646d

View File

@ -157,7 +157,8 @@ class UmfPackLU : public SparseSolverBase<UmfPackLU<_MatrixType> >
init();
}
explicit UmfPackLU(const MatrixType& matrix)
template<typename InputMatrixType>
explicit UmfPackLU(const InputMatrixType& matrix)
: mp_matrix(matrix)
{
init();