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

Improve documentation of the 'size' method

parent c43c9b37
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,11 @@ namespace Dune {
*/
typedef double field_type;
/** \brief Return the number of vector entries */
/** \brief Return the number of non-zero vector entries
*
* As this is a dense vector data structure, all entries are non-zero,
* and hence 'size' returns the same number as 'N'.
*/
static constexpr size_type size()
{
return sizeof...(Args);
......
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