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

add cast to scalar

[[Imported from SVN: r927]]
parent 658f0f66
No related branches found
No related tags found
No related merge requests found
......@@ -309,6 +309,9 @@ namespace Dune {
//===== conversion operator
/** \brief Cast to a scalar */
operator K () const {return p_;}
/** \brief Sends the matrix to an output stream */
friend std::ostream& operator<< (std::ostream& s, const ScaledIdentityMatrix<K,n>& a)
{
......
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