From e18dd3e90500a4d40aaa3b746e2acf484f545da6 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 26 Sep 2024 13:38:54 -0700 Subject: [PATCH] Removed unneeded changes --- gtsam/hybrid/HybridFactor.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gtsam/hybrid/HybridFactor.h b/gtsam/hybrid/HybridFactor.h index 39a72eb26..fc91e0838 100644 --- a/gtsam/hybrid/HybridFactor.h +++ b/gtsam/hybrid/HybridFactor.h @@ -56,9 +56,11 @@ class GTSAM_EXPORT HybridFactor : public Factor { /// Enum to help with categorizing hybrid factors. enum class Category { None, Discrete, Continuous, Hybrid }; - protected: + private: /// Record what category of HybridFactor this is. Category category_ = Category::None; + + protected: // Set of DiscreteKeys for this factor. DiscreteKeys discreteKeys_; /// Record continuous keys for book-keeping @@ -140,10 +142,6 @@ class GTSAM_EXPORT HybridFactor : public Factor { /// @} - protected: - /// protected constructor to initialize the category - HybridFactor(Category category) : category_(category) {} - private: #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION /** Serialization function */