u01: Fix typo in comment
This commit is contained in:
parent
9db38c33f5
commit
8a07422a51
|
@ -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--) {
|
||||
|
|
Reference in a new issue