Skip to content
Snippets Groups Projects
Commit 80b38411 authored by Christian Engwer's avatar Christian Engwer
Browse files

[array]

use fill for asignment from scalar

[[Imported from SVN: r6362]]
parent 3e59ef60
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ namespace Dune
//! Assign value to all entries
array<T,N>& operator= (const T& t)
{
for (size_type i=0; i<N; i++) a[i]=t;
fill(t);
return (*this);
}
......
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