diff --git a/common/fmatrix.hh b/common/fmatrix.hh index a071b8496b6ca469e9d855ebaed599ecf8c045c8..91a35cf17831b2a091ecf2d2217e3a45dfbed283 100644 --- a/common/fmatrix.hh +++ b/common/fmatrix.hh @@ -687,17 +687,11 @@ namespace Dune { //===== conversion operator - /** \brief Sends the matrix to an output stream */ - void print (std::ostream& s) const - { - for (size_type i=0; i<n; i++) - s << p[i] << std::endl; - } - /** \brief Sends the matrix to an output stream */ friend std::ostream& operator<< (std::ostream& s, const FieldMatrix<K,n,m>& a) { - a.print(s); + for (size_type i=0; i<n; i++) + s << a.p[i] << std::endl; return s; }