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

dynamic access to FixedArray length

[[Imported from SVN: r4967]]
parent b3c2360e
Branches
Tags
No related merge requests found
......@@ -143,6 +143,9 @@ namespace Dune
for (int i=0; i<N; i++) a[i]=t;
}
/** \brief Return array size */
int size() const {return N;}
//! Assign value to all entries
FixedArray<T,N>& operator= (const T& t)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment