Changed the default 'enforceConsistency' flag to true in the Batch Fixed-Lag Smoother to match the incremental version
parent
d44a9e3b75
commit
95e97c2dfc
|
@ -34,7 +34,7 @@ public:
|
||||||
typedef boost::shared_ptr<BatchFixedLagSmoother> shared_ptr;
|
typedef boost::shared_ptr<BatchFixedLagSmoother> shared_ptr;
|
||||||
|
|
||||||
/** default constructor */
|
/** default constructor */
|
||||||
BatchFixedLagSmoother(double smootherLag = 0.0, const LevenbergMarquardtParams& parameters = LevenbergMarquardtParams(), bool enforceConsistency = false) :
|
BatchFixedLagSmoother(double smootherLag = 0.0, const LevenbergMarquardtParams& parameters = LevenbergMarquardtParams(), bool enforceConsistency = true) :
|
||||||
FixedLagSmoother(smootherLag), parameters_(parameters), enforceConsistency_(enforceConsistency) { };
|
FixedLagSmoother(smootherLag), parameters_(parameters), enforceConsistency_(enforceConsistency) { };
|
||||||
|
|
||||||
/** destructor */
|
/** destructor */
|
||||||
|
|
Loading…
Reference in New Issue