Skip to content

Commit b8dbcba

Browse files
authored
Merge pull request #2064 from jmackay2/build_fix
Fix the build for example Hybrid City 10000
2 parents d01aaf0 + 494ecf6 commit b8dbcba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Hybrid_City10000.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Experiment {
110110
gttic_(SmootherUpdate);
111111
clock_t beforeUpdate = clock();
112112
auto linearized = newFactors_.linearize(initial_);
113-
smoother_.update(*linearized, maxNrHypotheses);
113+
smoother_.update(*linearized, initial_);
114114
allFactors_.push_back(newFactors_);
115115
newFactors_.resize(0);
116116
clock_t afterUpdate = clock();
@@ -313,4 +313,4 @@ int main(int argc, char* argv[]) {
313313
experiment.run();
314314

315315
return 0;
316-
}
316+
}

0 commit comments

Comments
 (0)