From ac1bd37d19f946142d03992a35b4d5d353e003ff Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 1 Feb 2023 18:57:18 -0400 Subject: TObject: Correct typo in `get_node_count()` Oof, forgot an underscore. --- src/pso/TObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp index cd4403f..eff743b 100644 --- a/src/pso/TObject.cpp +++ b/src/pso/TObject.cpp @@ -45,7 +45,7 @@ int TObject::get_node_count() { // NOTE: The order of the variable declarations matter for matching. TObject *child; int node_count = 0; - FOREACH_NODE_NO_DECL(TObject, this->down, child) { + FOREACH_NODE_NODECL(TObject, this->down, child) { node_count += child->get_node_count() + 1; } return node_count; -- cgit v1.2.3-13-gbd6f