diff options
Diffstat (limited to 'Eigen/src/UmfPackSupport')
-rw-r--r-- | Eigen/src/UmfPackSupport/UmfPackSupport.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<UmfPackLU<_MatrixType> > init(); } - explicit UmfPackLU(const MatrixType& matrix) + template<typename InputMatrixType> + explicit UmfPackLU(const InputMatrixType& matrix) : mp_matrix(matrix) { init(); |