* Solve primal problem only.
*/
template<class Preconditioner>
- /*typename*/
- Solver<Matrix,Vector>::ReturnState solve (const Matrix &A,
- Vector &x,
- const Vector &b,
- const Preconditioner& precondition);
+ typename Solver<Matrix,Vector>::ReturnState
+ solve (const Matrix &A,
+ Vector &x,
+ const Vector &b,
+ const Preconditioner& precondition);
protected:
/**
* The iteration loop itself.
*/
template<class Preconditioner>
- typename Solver<Matrix,Vector>::ReturnState iterate(const Preconditioner& precondition);
+ typename Solver<Matrix,Vector>::ReturnState
+ iterate(const Preconditioner& precondition);
};
template<class Matrix, class Vector>
template<class Preconditioner>
-/*typename*/ Solver<Matrix,Vector>::ReturnState
+typename Solver<Matrix,Vector>::ReturnState
SolverBicgstab<Matrix, Vector>::iterate(const Preconditioner& precondition)
{
SolverControl::State state = SolverControl::iterate;