From 22d9b162d27595b2affc98b877ae518878a8482c Mon Sep 17 00:00:00 2001 From: chrisbeall Date: Sat, 18 May 2019 20:51:00 -0700 Subject: [PATCH] Fix more clang issues with FactorIndices --- gtsam_unstable/nonlinear/tests/testBatchFixedLagSmoother.cpp | 2 +- .../nonlinear/tests/testIncrementalFixedLagSmoother.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam_unstable/nonlinear/tests/testBatchFixedLagSmoother.cpp b/gtsam_unstable/nonlinear/tests/testBatchFixedLagSmoother.cpp index 20a7beff5..a4811abd8 100644 --- a/gtsam_unstable/nonlinear/tests/testBatchFixedLagSmoother.cpp +++ b/gtsam_unstable/nonlinear/tests/testBatchFixedLagSmoother.cpp @@ -216,7 +216,7 @@ TEST( BatchFixedLagSmoother, Example ) Timestamps emptyNewTimestamps; size_t factorIndex = 6; // any index that does not break connectivity of the graph - FastVector factorToRemove; + FactorIndices factorToRemove; factorToRemove.push_back(factorIndex); const NonlinearFactorGraph smootherFactorsBeforeRemove = smoother.getFactors(); diff --git a/gtsam_unstable/nonlinear/tests/testIncrementalFixedLagSmoother.cpp b/gtsam_unstable/nonlinear/tests/testIncrementalFixedLagSmoother.cpp index ab6c1298a..8d99ed482 100644 --- a/gtsam_unstable/nonlinear/tests/testIncrementalFixedLagSmoother.cpp +++ b/gtsam_unstable/nonlinear/tests/testIncrementalFixedLagSmoother.cpp @@ -206,7 +206,7 @@ TEST( IncrementalFixedLagSmoother, Example ) Timestamps emptyNewTimestamps; size_t factorIndex = 25; // any index that does not break connectivity of the graph - FastVector factorToRemove; + FactorIndices factorToRemove; factorToRemove.push_back(factorIndex); const NonlinearFactorGraph smootherFactorsBeforeRemove = smoother.getFactors();