From dbfc7bb4959f3c4a2217ba7d393f3475aa5c7a34 Mon Sep 17 00:00:00 2001 From: senselessDev Date: Sat, 29 Jan 2022 22:13:23 +0100 Subject: [PATCH] revert FactorIndices default argument to overloading for now * FactorIndices default argument is currently not easily available in binding code * see https://github.com/borglab/gtsam/pull/1053#issuecomment-1019345941 --- gtsam_unstable/gtsam_unstable.i | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtsam_unstable/gtsam_unstable.i b/gtsam_unstable/gtsam_unstable.i index 35d2da40f..7d5241771 100644 --- a/gtsam_unstable/gtsam_unstable.i +++ b/gtsam_unstable/gtsam_unstable.i @@ -566,10 +566,13 @@ virtual class FixedLagSmoother { gtsam::FixedLagSmootherKeyTimestampMap timestamps() const; double smootherLag() const; + gtsam::FixedLagSmootherResult update(const gtsam::NonlinearFactorGraph &newFactors, + const gtsam::Values &newTheta, + const gtsam::FixedLagSmootherKeyTimestampMap ×tamps); gtsam::FixedLagSmootherResult update(const gtsam::NonlinearFactorGraph &newFactors, const gtsam::Values &newTheta, const gtsam::FixedLagSmootherKeyTimestampMap ×tamps, - const gtsam::FactorIndices &factorsToRemove=gtsam::FactorIndices()); + const gtsam::FactorIndices &factorsToRemove); gtsam::Values calculateEstimate() const; };