default arg for HybridSmoother constructor and clean up tests
parent
4fcfe6493f
commit
c91abb2644
|
@ -40,7 +40,7 @@ class GTSAM_EXPORT HybridSmoother {
|
|||
* @param deadModeThreshold The threshold above which a mode gets assigned a
|
||||
* value and is considered "dead". 0.99 is a good starting value.
|
||||
*/
|
||||
HybridSmoother(const std::optional<double> deadModeThreshold)
|
||||
HybridSmoother(const std::optional<double> deadModeThreshold = {})
|
||||
: deadModeThreshold_(deadModeThreshold) {}
|
||||
|
||||
/**
|
||||
|
|
|
@ -194,8 +194,6 @@ TEST(HybridSmoother, DeadModeRemoval) {
|
|||
|
||||
HybridGaussianFactorGraph linearized = *graph.linearize(initial);
|
||||
|
||||
// std::cout << "\n\n\nk" << std::endl;
|
||||
// GTSAM_PRINT(linearized);
|
||||
smoother.update(linearized, maxNrLeaves);
|
||||
|
||||
// Clear all the factors from the graph
|
||||
|
|
Loading…
Reference in New Issue