diff --git a/inference/Factor.h b/inference/Factor.h index 19b981d4e..3d15f02e4 100644 --- a/inference/Factor.h +++ b/inference/Factor.h @@ -18,9 +18,6 @@ namespace gtsam { - /** A map from key to dimension, useful in various contexts */ - typedef SymbolMap Dimensions; - /** * A simple factor class to use in a factor graph. * diff --git a/linear/GaussianFactor.h b/linear/GaussianFactor.h index 0c5050c5c..b242dd368 100644 --- a/linear/GaussianFactor.h +++ b/linear/GaussianFactor.h @@ -28,6 +28,9 @@ namespace gtsam { class Ordering; + /** A map from key to dimension, useful in various contexts */ + typedef SymbolMap Dimensions; + /** * Base Class for a linear factor. * GaussianFactor is non-mutable (all methods const!). @@ -164,7 +167,6 @@ public: return (++(As_.begin()))->first; } - /** * Find all variables and their dimensions * @return The set of all variable/dimension pairs