Skip to content
Snippets Groups Projects
Commit 223d2177 authored by Oliver Sander's avatar Oliver Sander
Browse files

removed method print(). Use operator<< instead

[[Imported from SVN: r4713]]
parent 3a69c982
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment