diff options
Diffstat (limited to 'Eigen/src/CholmodSupport/CholmodSupport.h')
-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 |