From afa11d646d0825d6e8ada3fe6676bc66746b5c99 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 27 Nov 2015 22:04:22 +0100 Subject: Fix UmfPackLU ctor for exppressions --- Eigen/src/UmfPackSupport/UmfPackSupport.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Eigen/src/UmfPackSupport') 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(); -- cgit v1.2.3