Commented nonexistant constructors from SharedNoiseModel in gtsam.h

release/4.3a0
Alex Cunningham 2011-12-21 16:32:55 +00:00
parent 3ccb670e92
commit 0c68a49395
2 changed files with 5 additions and 6 deletions

View File

@ -200,8 +200,8 @@ class SharedDiagonal {
#include <gtsam/linear/SharedGaussian.h>
class SharedNoiseModel {
// FIXME: this generates only one constructor because "SharedDiagonal" and "SharedGaussian" both start with 'S'
SharedNoiseModel(const SharedDiagonal& model);
SharedNoiseModel(const SharedGaussian& model);
// SharedNoiseModel(const SharedDiagonal& model); // FIXME: constructor doesn't exist
// SharedNoiseModel(const SharedGaussian& model); // FIXME: constructor doesn't exist
};
class VectorValues {

View File

@ -22,7 +22,6 @@
#pragma once
#include <gtsam/inference/FactorGraph.h>
#include <gtsam/inference/graph-inl.h>
#include <gtsam/inference/BayesTree.h>
#include <gtsam/base/DSF.h>
@ -41,9 +40,9 @@
#include <stdexcept>
#include <functional>
#define INSTANTIATE_FACTOR_GRAPH(F) \
template class FactorGraph<F>; \
template FactorGraph<F> combine(const FactorGraph<F>&, const FactorGraph<F>&)
//#define INSTANTIATE_FACTOR_GRAPH(F) \
// template class FactorGraph<F>; \
// template FactorGraph<F> combine(const FactorGraph<F>&, const FactorGraph<F>&)
using namespace std;