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