From f9580a3473b20b97cf3e939154f85004e232d96e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 1 Sep 2014 17:14:30 +0200 Subject: [PATCH] Fix Cholmod support without evaluators --- Eigen/src/CholmodSupport/CholmodSupport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/CholmodSupport/CholmodSupport.h b/Eigen/src/CholmodSupport/CholmodSupport.h index 4416c5308..d3db51d0b 100644 --- a/Eigen/src/CholmodSupport/CholmodSupport.h +++ b/Eigen/src/CholmodSupport/CholmodSupport.h @@ -237,13 +237,13 @@ class CholmodBase : public SparseSolverBase * \sa compute() */ template - inline const internal::sparse_solve_retval + inline const internal::sparse_solve_retval solve(const SparseMatrixBase& b) const { eigen_assert(m_isInitialized && "LLT is not initialized."); eigen_assert(rows()==b.rows() && "CholmodDecomposition::solve(): invalid number of rows of the right hand side matrix b"); - return internal::sparse_solve_retval(derived(), b.derived()); + return internal::sparse_solve_retval(*this, b.derived()); } #endif // EIGEN_TEST_EVALUATORS