Removed unneeded changes
parent
83fae8ecf8
commit
e18dd3e905
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue