From 01ee9246d77a0543b3a9fd597d780f2e888d2a2c Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Mon, 9 Nov 2009 16:53:13 +0000 Subject: [PATCH] fix Matlab toolbox to work with Frank's recent changes to gtsam. --- cpp/gtsam.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpp/gtsam.h b/cpp/gtsam.h index 78274a8c2..874d1cdf9 100644 --- a/cpp/gtsam.h +++ b/cpp/gtsam.h @@ -77,10 +77,8 @@ class Ordering { class GaussianBayesNet { GaussianBayesNet(); - VectorConfig* optimize(); void print() const; bool equals(const GaussianBayesNet& cbn) const; - pair matrix() const; }; class LinearFactorGraph { @@ -94,7 +92,7 @@ class LinearFactorGraph { bool equals(const LinearFactorGraph& lfgraph) const; VectorConfig optimize(const Ordering& ordering); - GaussianBayesNet* eliminate(const Ordering& ordering); + GaussianBayesNet eliminate(const Ordering& ordering); pair matrix(const Ordering& ordering) const; Matrix sparse(const Ordering& ordering) const; };