Commit 11811963 authored by Steffen Müthing's avatar Steffen Müthing

Merge branch 'feature/fix-childextraction-with-filteredcompositenode' into 'master'

[filteredcompositenode] Add new method degree()

Looks like I completely forgot about FilteredCompositeNode when
I added the new method to TypeTree.

Fixes #3 .

See merge request !12
parents 568df5e2 3442be0c
......@@ -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