From 82decf916e7c9f9f60ad89551bf6d3e0172fce9d Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sun, 18 May 2025 22:47:38 -0400 Subject: [PATCH] Undo some changes --- gtsam/discrete/discrete.i | 3 --- gtsam/hybrid/HybridSmoother.h | 2 -- gtsam/linear/NoiseModel.cpp | 1 + python/gtsam/preamble/inference.h | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gtsam/discrete/discrete.i b/gtsam/discrete/discrete.i index 342650161..54d00f82a 100644 --- a/gtsam/discrete/discrete.i +++ b/gtsam/discrete/discrete.i @@ -301,9 +301,6 @@ class DiscreteBayesTree { double evaluate(const gtsam::DiscreteValues& values) const; double operator()(const gtsam::DiscreteValues& values) const; - double evaluate(const gtsam::DiscreteValues& values) const; - double operator()(const gtsam::DiscreteValues& values) const; - string dot(const gtsam::KeyFormatter& keyFormatter = gtsam::DefaultKeyFormatter) const; void saveGraph(string s, diff --git a/gtsam/hybrid/HybridSmoother.h b/gtsam/hybrid/HybridSmoother.h index 59f4c72bb..70134f375 100644 --- a/gtsam/hybrid/HybridSmoother.h +++ b/gtsam/hybrid/HybridSmoother.h @@ -98,8 +98,6 @@ class GTSAM_EXPORT HybridSmoother { Ordering getOrdering(const HybridGaussianFactorGraph& factors, const KeySet& newFactorKeys); - Ordering getOrdering(const HybridGaussianFactorGraph& newFactors); - /** * @brief Add conditionals from previous timestep as part of liquefication. * diff --git a/gtsam/linear/NoiseModel.cpp b/gtsam/linear/NoiseModel.cpp index d19e8dee2..865e04c1f 100644 --- a/gtsam/linear/NoiseModel.cpp +++ b/gtsam/linear/NoiseModel.cpp @@ -304,6 +304,7 @@ Diagonal::shared_ptr Diagonal::Precisions(const Vector& precisions, bool smart) { return Variances(precisions.array().inverse(), smart); } + /* ************************************************************************* */ void Diagonal::print(const string& name) const { gtsam::print(sigmas_, name + "diagonal sigmas "); diff --git a/python/gtsam/preamble/inference.h b/python/gtsam/preamble/inference.h index 4106c794a..56a07cfdd 100644 --- a/python/gtsam/preamble/inference.h +++ b/python/gtsam/preamble/inference.h @@ -11,4 +11,4 @@ * mutations on Python side will not be reflected on C++. */ -#include \ No newline at end of file +#include