diff --git a/gtsam.h b/gtsam.h index f294f8d3e..9cd347522 100644 --- a/gtsam.h +++ b/gtsam.h @@ -200,8 +200,8 @@ class SharedDiagonal { #include 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 { diff --git a/gtsam/inference/FactorGraph-inl.h b/gtsam/inference/FactorGraph-inl.h index 3b3d568bd..3d791e9f0 100644 --- a/gtsam/inference/FactorGraph-inl.h +++ b/gtsam/inference/FactorGraph-inl.h @@ -22,7 +22,6 @@ #pragma once -#include #include #include #include @@ -41,9 +40,9 @@ #include #include -#define INSTANTIATE_FACTOR_GRAPH(F) \ - template class FactorGraph; \ - template FactorGraph combine(const FactorGraph&, const FactorGraph&) +//#define INSTANTIATE_FACTOR_GRAPH(F) \ +// template class FactorGraph; \ +// template FactorGraph combine(const FactorGraph&, const FactorGraph&) using namespace std;