address review comments
parent
09d512ae48
commit
7496f2f43a
|
@ -134,8 +134,7 @@ class GTSAM_EXPORT HybridGaussianFactorGraph
|
||||||
template <typename FACTOR>
|
template <typename FACTOR>
|
||||||
IsGaussian<FACTOR> push_gaussian(
|
IsGaussian<FACTOR> push_gaussian(
|
||||||
const boost::shared_ptr<FACTOR>& gaussianFactor) {
|
const boost::shared_ptr<FACTOR>& gaussianFactor) {
|
||||||
Base::Base::push_back(
|
Base::push_back(boost::make_shared<HybridGaussianFactor>(gaussianFactor));
|
||||||
boost::make_shared<HybridGaussianFactor>(gaussianFactor));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Construct a factor and add (shared pointer to it) to factor graph.
|
/// Construct a factor and add (shared pointer to it) to factor graph.
|
||||||
|
|
|
@ -273,6 +273,7 @@ TEST(HybridGaussianFactorGraph, eliminateFullMultifrontalTwoClique) {
|
||||||
// GTSAM_PRINT(*hbt);
|
// GTSAM_PRINT(*hbt);
|
||||||
// GTSAM_PRINT(*remaining);
|
// GTSAM_PRINT(*remaining);
|
||||||
|
|
||||||
|
// hbt->marginalFactor(X(1))->print("HBT: ");
|
||||||
/*
|
/*
|
||||||
(Fan) Explanation: the Junction tree will need to reeliminate to get to the
|
(Fan) Explanation: the Junction tree will need to reeliminate to get to the
|
||||||
marginal on X(1), which is not possible because it involves eliminating
|
marginal on X(1), which is not possible because it involves eliminating
|
||||||
|
|
Loading…
Reference in New Issue