Commit 3442be0c authored by Steffen Müthing's avatar Steffen Müthing

[filteredcompositenode] Add new method degree()

Looks like I completely forgot about FilteredCompositeNode when
I added the new method to TypeTree.
parent 568df5e2
......@@ -114,6 +114,11 @@ namespace Dune {
//! The number of children.
static const std::size_t CHILDREN = filter_result::size;
static constexpr std::size_t degree()
{
return filter_result::size;
}
//! Access to the type and storage type of the i-th child.
template<std::size_t k>
struct Child {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment