Skip to content
Snippets Groups Projects
Commit 44a34b6e authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

preprocess now also calls preprocess for the dependant iteration step class

[[Imported from SVN: r7435]]
parent bfe034e4
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,9 @@ public: ...@@ -42,7 +42,9 @@ public:
/** \brief Retrieve the solution */ /** \brief Retrieve the solution */
virtual VectorType getSol(); virtual VectorType getSol();
/** \brief To be called before starting to iterate */ /** \brief To be called before starting to iterate
\note This calls the preprocess method for the dependant iteration step class, too!
*/
virtual void preprocess(); virtual void preprocess();
IterationStep<VectorType,BitVectorType>* iterationStep_; IterationStep<VectorType,BitVectorType>* iterationStep_;
...@@ -69,6 +71,8 @@ template<class VectorType, class BitVectorType> ...@@ -69,6 +71,8 @@ template<class VectorType, class BitVectorType>
inline inline
void MinimalPolynomialExtrapolationStep<VectorType, BitVectorType>::preprocess() void MinimalPolynomialExtrapolationStep<VectorType, BitVectorType>::preprocess()
{ {
iterationStep_->preprocess();
xHistory_.resize(1); xHistory_.resize(1);
xHistory_[0] = *this->x_; xHistory_[0] = *this->x_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment