Commit 7a3c5906 authored by Simon Praetorius's avatar Simon Praetorius

remove the warning: comparison of integer expressions of different signedness, in childextraction

parent a6c8c78d
......@@ -32,7 +32,7 @@ namespace Dune {
template <class Node, class Index>
std::true_type checkChildIndex (Node const& node, Index i)
{
assert(i < node.degree() && "Child index out of range");
assert(std::size_t(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