Removed unneeded changes

release/4.3a0
Frank Dellaert 2024-09-26 13:38:54 -07:00
parent 83fae8ecf8
commit e18dd3e905
1 changed files with 3 additions and 5 deletions

View File

@ -56,9 +56,11 @@ class GTSAM_EXPORT HybridFactor : public Factor {
/// Enum to help with categorizing hybrid factors. /// Enum to help with categorizing hybrid factors.
enum class Category { None, Discrete, Continuous, Hybrid }; enum class Category { None, Discrete, Continuous, Hybrid };
protected: private:
/// Record what category of HybridFactor this is. /// Record what category of HybridFactor this is.
Category category_ = Category::None; Category category_ = Category::None;
protected:
// Set of DiscreteKeys for this factor. // Set of DiscreteKeys for this factor.
DiscreteKeys discreteKeys_; DiscreteKeys discreteKeys_;
/// Record continuous keys for book-keeping /// 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: private:
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
/** Serialization function */ /** Serialization function */