diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-09-01 17:14:30 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-09-01 17:14:30 +0200 |
commit | f9580a3473b20b97cf3e939154f85004e232d96e (patch) | |
tree | b05014742da70daae78fa9297e3b7d2f3fab22dd /Eigen/src/CholmodSupport | |
parent | fbb53b6cbb7f1a7cce2166c9df981b76fdd37f87 (diff) |
Fix Cholmod support without evaluators
Diffstat (limited to 'Eigen/src/CholmodSupport')
-rw-r--r-- | Eigen/src/CholmodSupport/CholmodSupport.h | 4 |
1 files 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<Derived> * \sa compute() */ template<typename Rhs> - inline const internal::sparse_solve_retval<Derived, Rhs> + inline const internal::sparse_solve_retval<CholmodBase, Rhs> solve(const SparseMatrixBase<Rhs>& 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, Rhs>(derived(), b.derived()); + return internal::sparse_solve_retval<CholmodBase, Rhs>(*this, b.derived()); } #endif // EIGEN_TEST_EVALUATORS |