Skip to content
Snippets Groups Projects
Commit 73d9273f authored by Martin Nolte's avatar Martin Nolte
Browse files

merge trunk

[[Imported from SVN: r6866]]
parents 8a3bde04 ce6e7f05
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,12 @@ namespace Dune
template < class T, size_t N >
inline std::ostream& operator<< (std::ostream& s, const array<T,N>& e)
{
if (N == 0)
{
s << "[]";
return s;
}
s << "[";
for (size_t i=0; i<N-1; i++) s << e[i] << ",";
s << e[N-1] << "]";
......
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