aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/CholmodSupport
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-09-01 17:14:30 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-09-01 17:14:30 +0200
commitf9580a3473b20b97cf3e939154f85004e232d96e (patch)
treeb05014742da70daae78fa9297e3b7d2f3fab22dd /Eigen/src/CholmodSupport
parentfbb53b6cbb7f1a7cce2166c9df981b76fdd37f87 (diff)
Fix Cholmod support without evaluators
Diffstat (limited to 'Eigen/src/CholmodSupport')
-rw-r--r--Eigen/src/CholmodSupport/CholmodSupport.h4
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