Fix compilation error
parent
efa37ff315
commit
3aac52c3d3
|
|
@ -36,8 +36,6 @@ typedef HybridFactor This; ///< This class
|
||||||
typedef boost::shared_ptr<HybridFactor> shared_ptr; ///< shared_ptr to this class
|
typedef boost::shared_ptr<HybridFactor> shared_ptr; ///< shared_ptr to this class
|
||||||
typedef Factor Base; ///< Our base class
|
typedef Factor Base; ///< Our base class
|
||||||
|
|
||||||
using Values = Values; ///< backwards compatibility
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/// @name Standard Constructors
|
/// @name Standard Constructors
|
||||||
|
|
@ -78,6 +76,7 @@ Base::print(s, formatter);
|
||||||
// HybridFactor
|
// HybridFactor
|
||||||
|
|
||||||
// traits
|
// traits
|
||||||
template<> struct traits<HybridFactor> : public Testable<HybridFactor> {};
|
template<>
|
||||||
|
struct traits<HybridFactor> : public Testable<HybridFactor> {};
|
||||||
|
|
||||||
}// namespace gtsam
|
}// namespace gtsam
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,9 @@ EliminateHybrid(const HybridFactorGraph &factors,
|
||||||
// The issue here is that, how can we know which variable is discrete if we
|
// The issue here is that, how can we know which variable is discrete if we
|
||||||
// unify Values? Obviously we can tell using the factors, but is that fast?
|
// unify Values? Obviously we can tell using the factors, but is that fast?
|
||||||
|
|
||||||
|
// In the case of multifrontal, we will need to use a constrained ordering
|
||||||
|
// so that the discrete parts will be guaranteed to be eliminated last!
|
||||||
|
|
||||||
// PRODUCT: multiply all factors
|
// PRODUCT: multiply all factors
|
||||||
gttic(product);
|
gttic(product);
|
||||||
KeySet allKeys;
|
KeySet allKeys;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue