u01: Fix typo in comment

This commit is contained in:
Simon Bruder 2023-04-24 14:24:09 +02:00
parent fa279ba3aa
commit 0ee62d9a62

View file

@ -77,7 +77,7 @@ std::string node::print_iterative() const {
if (n != this)
output << std::endl;
output << std::string(depth, '\t') << n->get_name();
// Complex iteration (not default vector iteration is necessary,
// Complex iteration (not default vector iteration) is necessary,
// to achieve the same output as the recursive approach.
// Otherwise, the order of the children is reversed (due to LIFO).
for (std::size_t i = n->get_nr_children(); i > 0; i--) {