Commit 089548cb authored by Simon Praetorius's avatar Simon Praetorius

Merge branch 'issue/remove_integer_comparison_warning' into 'master'

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

See merge request !84
parents a6c8c78d 7a3c5906
Pipeline #29218 passed with stage
in 1 minute and 23 seconds
......@@ -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