fix return type of DiscreteSearch method

release/4.3a0
Varun Agrawal 2025-03-01 00:21:04 -05:00
parent 648634f42c
commit 42d7160b9a
1 changed files with 3 additions and 3 deletions

View File

@ -477,9 +477,9 @@ class DiscreteSearchSolution {
};
class DiscreteSearch {
static DiscreteSearch FromFactorGraph(const gtsam::DiscreteFactorGraph& factorGraph,
const gtsam::Ordering& ordering,
bool buildJunctionTree = false);
static gtsam::DiscreteSearch FromFactorGraph(
const gtsam::DiscreteFactorGraph& factorGraph,
const gtsam::Ordering& ordering, bool buildJunctionTree = false);
DiscreteSearch(const gtsam::DiscreteEliminationTree& etree);
DiscreteSearch(const gtsam::DiscreteJunctionTree& junctionTree);