diff --git a/dune/common/array.hh b/dune/common/array.hh index e2cea09dde55271d8b51a2a8e9e5edc7f57c0f21..5ad73ed46768601463f30c7d0dc0529ff43414e2 100644 --- a/dune/common/array.hh +++ b/dune/common/array.hh @@ -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); }