You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aboria::NeighbourQueryBase needs the concept of a root child_iterator to simplify writing, for example, a depth-first iteration. At the moment it is:
auto depth_first = [&](const auto &parent) {
std::cout << query.get_bounds(parent) << std::endl;
for (auto i = query.get_children(parent); i != false; ++i) {
depth_first(i);
}
};
for (auto i = query.get_children(); i != false; ++i) {
depth_first(i);
}
It should be
auto depth_first = [&](const auto &parent) {
std::cout << query.get_bounds(parent) << std::endl;
for (auto i = query.get_children(parent); i != false; ++i) {
depth_first(i);
}
};
depth_first(query.get_root());
The text was updated successfully, but these errors were encountered:
Aboria::NeighbourQueryBase needs the concept of a root child_iterator to simplify writing, for example, a depth-first iteration. At the moment it is:
It should be
The text was updated successfully, but these errors were encountered: