update tests

release/4.3a0
Varun Agrawal 2025-03-17 16:24:02 -04:00
parent 3fed73b993
commit 27c2031e0b
1 changed files with 3 additions and 9 deletions

View File

@ -94,9 +94,7 @@ TEST(HybridSmoother, IncrementalSmoother) {
initial.insert(X(k), switching.linearizationPoint.at<double>(X(k)));
HybridGaussianFactorGraph linearized = *graph.linearize(initial);
smoother.update(linearized, maxNrLeaves);
smoother.update(graph, initial, maxNrLeaves);
// Clear all the factors from the graph
graph.resize(0);
@ -152,9 +150,7 @@ TEST(HybridSmoother, ValidPruningError) {
initial.insert(X(k), switching.linearizationPoint.at<double>(X(k)));
HybridGaussianFactorGraph linearized = *graph.linearize(initial);
smoother.update(linearized, maxNrLeaves);
smoother.update(graph, initial, maxNrLeaves);
// Clear all the factors from the graph
graph.resize(0);
@ -200,9 +196,7 @@ TEST(HybridSmoother, DeadModeRemoval) {
initial.insert(X(k), switching.linearizationPoint.at<double>(X(k)));
HybridGaussianFactorGraph linearized = *graph.linearize(initial);
smoother.update(linearized, maxNrLeaves);
smoother.update(graph, initial, maxNrLeaves);
// Clear all the factors from the graph
graph.resize(0);