diff --git a/cpp/gtsam.h b/cpp/gtsam.h index 874d1cdf9..3f3a872cb 100644 --- a/cpp/gtsam.h +++ b/cpp/gtsam.h @@ -92,7 +92,7 @@ class LinearFactorGraph { bool equals(const LinearFactorGraph& lfgraph) const; VectorConfig optimize(const Ordering& ordering); - GaussianBayesNet eliminate(const Ordering& ordering); + void eliminate(const Ordering& ordering); pair matrix(const Ordering& ordering) const; Matrix sparse(const Ordering& ordering) const; };