Fixed warnings
parent
5e5a3b0f24
commit
ab0ed918f4
|
|
@ -22,12 +22,11 @@
|
||||||
#include <gtsam/linear/GaussianBayesNet.h>
|
#include <gtsam/linear/GaussianBayesNet.h>
|
||||||
#include <gtsam/linear/VectorValues.h>
|
#include <gtsam/linear/VectorValues.h>
|
||||||
|
|
||||||
|
#include <gtsam/inference/BayesNet-inl.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace gtsam;
|
using namespace gtsam;
|
||||||
|
|
||||||
// Explicitly instantiate so we don't have to include everywhere
|
|
||||||
#include <gtsam/inference/BayesNet-inl.h>
|
|
||||||
template class BayesNet<GaussianConditional>;
|
|
||||||
|
|
||||||
// trick from some reading group
|
// trick from some reading group
|
||||||
#define FOREACH_PAIR( KEY, VAL, COL) BOOST_FOREACH (boost::tie(KEY,VAL),COL)
|
#define FOREACH_PAIR( KEY, VAL, COL) BOOST_FOREACH (boost::tie(KEY,VAL),COL)
|
||||||
|
|
@ -35,6 +34,9 @@ template class BayesNet<GaussianConditional>;
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
// Explicitly instantiate so we don't have to include everywhere
|
||||||
|
template class BayesNet<GaussianConditional>;
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
GaussianBayesNet scalarGaussian(Index key, double mu, double sigma) {
|
GaussianBayesNet scalarGaussian(Index key, double mu, double sigma) {
|
||||||
GaussianBayesNet bn;
|
GaussianBayesNet bn;
|
||||||
|
|
|
||||||
|
|
@ -18,15 +18,16 @@
|
||||||
#include <gtsam/3rdparty/Eigen/Eigen/Dense>
|
#include <gtsam/3rdparty/Eigen/Eigen/Dense>
|
||||||
#include <gtsam/linear/GaussianISAM.h>
|
#include <gtsam/linear/GaussianISAM.h>
|
||||||
|
|
||||||
|
#include <gtsam/inference/ISAM-inl.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace gtsam;
|
using namespace gtsam;
|
||||||
|
|
||||||
// Explicitly instantiate so we don't have to include everywhere
|
|
||||||
#include <gtsam/inference/ISAM-inl.h>
|
|
||||||
template class ISAM<GaussianConditional>;
|
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
// Explicitly instantiate so we don't have to include everywhere
|
||||||
|
template class ISAM<GaussianConditional>;
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
GaussianFactor::shared_ptr GaussianISAM::marginalFactor(Index j) const {
|
GaussianFactor::shared_ptr GaussianISAM::marginalFactor(Index j) const {
|
||||||
return Super::marginalFactor(j, &EliminateQR);
|
return Super::marginalFactor(j, &EliminateQR);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue