Skip to content

Add missing static member max_size in flatmultiindex

Summary

Added static member max_size in FlatMultiIndex class.

Motivation

In CompositePreBasis the SizePrefix is defined as Dune::ReservedVector<size_type, MultiIndex::max_size()+1>. This requires max_size() to be a static member of the MultiIndex type. A FlatMultiIndex is derived from std::array that has no static max_size, only a memberfunction max_size that can not be used in this context.

Merge request reports