Fix umfpack ctor for expressions.

This commit is contained in:
Gael Guennebaud 2016-08-03 17:49:43 +02:00
parent 009a69fbf4
commit 5ed7b37b8f

View File

@ -148,7 +148,8 @@ class UmfPackLU : internal::noncopyable
UmfPackLU() { init(); } UmfPackLU() { init(); }
UmfPackLU(const MatrixType& matrix) template<typename InputMatrixType>
UmfPackLU(const InputMatrixType& matrix)
{ {
init(); init();
compute(matrix); compute(matrix);