From 874f0deeee06c80cf9e9d37ac0211bd8ab4fbf19 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Tue, 10 Jan 2023 08:58:31 -0800 Subject: [PATCH] One last omission --- gtsam/symbolic/tests/testSymbolicEliminationTree.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gtsam/symbolic/tests/testSymbolicEliminationTree.cpp b/gtsam/symbolic/tests/testSymbolicEliminationTree.cpp index 2b7ab6e82..cb370f553 100644 --- a/gtsam/symbolic/tests/testSymbolicEliminationTree.cpp +++ b/gtsam/symbolic/tests/testSymbolicEliminationTree.cpp @@ -31,6 +31,9 @@ using namespace gtsam::symbol_shorthand; using namespace std; using sharedNode = SymbolicEliminationTree::sharedNode; +// Use list_of replacement defined in symbolicExampleGraphs.h +using ChildNodes = ChainedVector; + class EliminationTreeTester { public: // build hardcoded tree @@ -65,8 +68,7 @@ class EliminationTreeTester { return tree; } - static SymbolicEliminationTree MakeTree( - const std::vector& roots) { + static SymbolicEliminationTree MakeTree(const ChildNodes::Result& roots) { SymbolicEliminationTree et; et.roots_.assign(roots.begin(), roots.end()); return et; @@ -81,9 +83,6 @@ static sharedNode Leaf(Key key, const SymbolicFactorGraph& factors) { return node; } -// Use list_of replacement defined in symbolicExampleGraphs.h -using ChildNodes = ChainedVector; - // Create a node with children. static sharedNode Node(Key key, const SymbolicFactorGraph& factors, const ChildNodes::Result& children) {