diff --git a/Eigen/src/UmfPackSupport/UmfPackSupport.h b/Eigen/src/UmfPackSupport/UmfPackSupport.h index 38db3bae4..caac082f3 100644 --- a/Eigen/src/UmfPackSupport/UmfPackSupport.h +++ b/Eigen/src/UmfPackSupport/UmfPackSupport.h @@ -157,7 +157,8 @@ class UmfPackLU : public SparseSolverBase > init(); } - explicit UmfPackLU(const MatrixType& matrix) + template + explicit UmfPackLU(const InputMatrixType& matrix) : mp_matrix(matrix) { init();