summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-01 18:57:18 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-01 19:01:42 -0400
commitac1bd37d19f946142d03992a35b4d5d353e003ff (patch)
tree47a89631d38a34d38d2cf6b487a5c92045bf2a45 /src
parentbd3a9e74774283a26e8b43f441c443c8ae547c9a (diff)
TObject: Correct typo in `get_node_count()`
Oof, forgot an underscore.
Diffstat (limited to 'src')
-rw-r--r--src/pso/TObject.cpp2
1 files changed, 1 insertions, 1 deletions
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;