diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-09-01 17:19:51 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-09-01 17:19:51 +0200 |
commit | 1c4b69c5fb4ec6a8b71a64f39ea82dacf50a8bfd (patch) | |
tree | a8c0169649de753f94ce7c23ed05231fa1f39179 /Eigen/src/IterativeLinearSolvers/BiCGSTAB.h | |
parent | 8a74ce922cbee1c416675e57e48393dd6b399e4e (diff) |
Factorize solveWithGuess in IterativeSolverBase
Diffstat (limited to 'Eigen/src/IterativeLinearSolvers/BiCGSTAB.h')
-rw-r--r-- | Eigen/src/IterativeLinearSolvers/BiCGSTAB.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h index 2cad946d3..b4d1d2a79 100644 --- a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +++ b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h @@ -198,21 +198,6 @@ public: return internal::solve_retval_with_guess <BiCGSTAB, Rhs, Guess>(*this, b.derived(), x0); } -#else - /** \returns the solution x of \f$ A x = b \f$ using the current decomposition of A - * \a x0 as an initial solution. - * - * \sa compute() - */ - template<typename Rhs,typename Guess> - inline const SolveWithGuess<BiCGSTAB, Rhs, Guess> - solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const - { - eigen_assert(m_isInitialized && "BiCGSTAB is not initialized."); - eigen_assert(Base::rows()==b.rows() - && "BiCGSTAB::solve(): invalid number of rows of the right hand side matrix b"); - return SolveWithGuess<BiCGSTAB, Rhs, Guess>(*this, b.derived(), x0); - } #endif /** \internal */ |