aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/UmfPackSupport/UmfPackSupport.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-11-27 22:04:22 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-11-27 22:04:22 +0100
commitafa11d646d0825d6e8ada3fe6676bc66746b5c99 (patch)
tree8420cf4c4524be61ac9bff8344fc436cb197db73 /Eigen/src/UmfPackSupport/UmfPackSupport.h
parent6bdeb8cfbe5d7da0380237fa5622a29223a261f3 (diff)
Fix UmfPackLU ctor for exppressions
Diffstat (limited to 'Eigen/src/UmfPackSupport/UmfPackSupport.h')
-rw-r--r--Eigen/src/UmfPackSupport/UmfPackSupport.h3
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();