From 8a07422a51cd73ff81be8d35ba8a7df831afe9b1 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 24 Apr 2023 14:24:09 +0200 Subject: [PATCH] u01: Fix typo in comment --- u01/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u01/node.cpp b/u01/node.cpp index ece43ab..b1ff337 100644 --- a/u01/node.cpp +++ b/u01/node.cpp @@ -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--) {