diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-11-27 22:04:22 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-11-27 22:04:22 +0100 |
commit | afa11d646d0825d6e8ada3fe6676bc66746b5c99 (patch) | |
tree | 8420cf4c4524be61ac9bff8344fc436cb197db73 /Eigen/src/UmfPackSupport | |
parent | 6bdeb8cfbe5d7da0380237fa5622a29223a261f3 (diff) |
Fix UmfPackLU ctor for exppressions
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(); |