From e650676da7043a4aa938b6b6b3aca18adae0d31a Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 5 Nov 2009 03:51:08 +0000 Subject: [PATCH] Moved header to .h to fix MATLAB toolbox compilation --- cpp/LinearFactorGraph.cpp | 1 - cpp/LinearFactorGraph.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/LinearFactorGraph.cpp b/cpp/LinearFactorGraph.cpp index dc803bb56..6558c746e 100644 --- a/cpp/LinearFactorGraph.cpp +++ b/cpp/LinearFactorGraph.cpp @@ -12,7 +12,6 @@ #include -#include "GaussianBayesNet.h" #include "FactorGraph-inl.h" #include "LinearFactorGraph.h" #include "LinearFactorSet.h" diff --git a/cpp/LinearFactorGraph.h b/cpp/LinearFactorGraph.h index 33fe6f82d..e37a17fab 100644 --- a/cpp/LinearFactorGraph.h +++ b/cpp/LinearFactorGraph.h @@ -15,11 +15,11 @@ #include #include "FactorGraph.h" #include "LinearFactor.h" +#include "GaussianBayesNet.h" // needed for MATLAB toolbox !! namespace gtsam { class Ordering; - class GaussianBayesNet; /** * A Linear Factor Graph is a factor graph where all factors are Gaussian, i.e.