Fix the example build

release/4.3a0
jmackay2 2025-03-19 22:26:09 -04:00
parent d01aaf0c84
commit 494ecf6745
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class Experiment {
gttic_(SmootherUpdate);
clock_t beforeUpdate = clock();
auto linearized = newFactors_.linearize(initial_);
smoother_.update(*linearized, maxNrHypotheses);
smoother_.update(*linearized, initial_);
allFactors_.push_back(newFactors_);
newFactors_.resize(0);
clock_t afterUpdate = clock();
@ -313,4 +313,4 @@ int main(int argc, char* argv[]) {
experiment.run();
return 0;
}
}