Skip to content

Commit

Permalink
Removed unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dellaert committed Sep 26, 2024
1 parent 83fae8e commit e18dd3e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions gtsam/hybrid/HybridFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit e18dd3e

Please sign in to comment.