Remove COLAMD varindex overload

release/4.3a0
p-zach 2025-04-15 18:16:51 -04:00
parent 7e912c5cdd
commit 198efe23c7
1 changed files with 4 additions and 1 deletions

View File

@ -122,8 +122,11 @@ class Ordering {
template <
FACTOR_GRAPH = {gtsam::NonlinearFactorGraph, gtsam::DiscreteFactorGraph,
gtsam::SymbolicFactorGraph, gtsam::GaussianFactorGraph, gtsam::HybridGaussianFactorGraph}>
// Can't have both of these Colamd implementations; the second overrides the first.
// Python wrapper is for ease of use, so choose the one that is more commonly used.
static gtsam::Ordering Colamd(const FACTOR_GRAPH& graph);
static gtsam::Ordering Colamd(const gtsam::VariableIndex& variableIndex);
// static gtsam::Ordering Colamd(const gtsam::VariableIndex& variableIndex);
template <
FACTOR_GRAPH = {gtsam::NonlinearFactorGraph, gtsam::DiscreteFactorGraph,