diff --git a/dune/solvers/solvers/solver.hh b/dune/solvers/solvers/solver.hh index 28aff314709896d73de6a49ab1b58dd6ecc35faa..caa6dd8036dc281ae53feda9afc290a6025d5f8c 100644 --- a/dune/solvers/solvers/solver.hh +++ b/dune/solvers/solvers/solver.hh @@ -15,17 +15,14 @@ virtual ~Solver() {} /** \brief Do the necessary preprocessing */ - virtual void preprocess(); + virtual void preprocess() + { + // Default: Do nothing + } /** \brief Derived classes overload this with the actual * solution algorithm */ virtual void solve() = 0; }; - -void Solver::preprocess() -{ - // Default: Do nothing -} - #endif