Commit c7def655 authored by Praetorius, Simon's avatar Praetorius, Simon

dune 2.6 can not used forEachLeafNode

parent 94bab4a6
Pipeline #1494 passed with stage
in 9 minutes and 57 seconds
......@@ -81,7 +81,9 @@ namespace Dune
auto oldLocalView = oldBasis.localView();
auto newLocalView = newBasis.localView();
auto isLeafNode = std::integral_constant<bool, oldLocalView.tree().isLeaf && newLocalView.tree().isLeaf>{};
auto isLeafNode = std::integral_constant<bool,
std::decay_t<decltype(oldLocalView.tree())>::isLeaf &&
Hybrid::ifElse(isLeafNode, [&](auto id) {
this->interpolate(oldCoeff, oldEntity, id(oldLocalView), newCoeff, newEntity, id(newLocalView));
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