diff --git a/Eigen/src/UmfPackSupport/UmfPackSupport.h b/Eigen/src/UmfPackSupport/UmfPackSupport.h index 29c60c378..54b1799ea 100644 --- a/Eigen/src/UmfPackSupport/UmfPackSupport.h +++ b/Eigen/src/UmfPackSupport/UmfPackSupport.h @@ -148,7 +148,8 @@ class UmfPackLU : internal::noncopyable UmfPackLU() { init(); } - UmfPackLU(const MatrixType& matrix) + template + UmfPackLU(const InputMatrixType& matrix) { init(); compute(matrix);