diff --git a/dune/solvers/solvers/iterativesolver.cc b/dune/solvers/solvers/iterativesolver.cc index 47a31e95139a94130a5a0b56dff802b66691afde..8aa5a6a2656ba18a4094ed3b9aaa640b86e5abcd 100644 --- a/dune/solvers/solvers/iterativesolver.cc +++ b/dune/solvers/solvers/iterativesolver.cc @@ -7,7 +7,7 @@ #include <iomanip> #include <fstream> -#include <dune/solvers/common/genericvectortools.hh> +#include <dune/matrix-vector/genericvectortools.hh> template <class VectorType, class BitVectorType> void IterativeSolver<VectorType, BitVectorType>::check() const @@ -33,7 +33,7 @@ void IterativeSolver<VectorType, BitVectorType>::writeIterate(const VectorType& if (not(file)) DUNE_THROW(SolverError, "Couldn't open file " << iSolFilename.str() << " for writing"); - GenericVector::writeBinary(file, iterate); + Dune::MatrixVector::Generic::writeBinary(file, iterate); file.close(); }