Commit 94135d46 authored by Simon Praetorius's avatar Simon Praetorius

use static degree method in static asserts

parent 5e742118
Pipeline #26139 passed with stage
in 2 minutes and 26 seconds
......@@ -40,7 +40,7 @@ namespace Dune {
template <class Node, std::size_t i>
std::bool_constant<(i < Node::degree())> checkChildIndex(Node const& node, index_constant<i>)
static_assert(i <, "Child index out of range");
static_assert(i < Node::degree(), "Child index out of range");
return {};
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