diff --git a/examples/Hybrid_City10000.cpp b/examples/Hybrid_City10000.cpp index 76771ad36..fc5d55d44 100644 --- a/examples/Hybrid_City10000.cpp +++ b/examples/Hybrid_City10000.cpp @@ -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; -} \ No newline at end of file +}