diff --git a/gtsam/base/LieMatrix.h b/gtsam/base/LieMatrix.h index f1fc69e71..4c250b3f2 100644 --- a/gtsam/base/LieMatrix.h +++ b/gtsam/base/LieMatrix.h @@ -19,6 +19,7 @@ #include +#warning "LieMatrix.h is deprecated. Please use Eigen::Matrix instead." #include #include #include @@ -27,7 +28,9 @@ namespace gtsam { /** - * LieVector is a wrapper around vector to allow it to be a Lie type + * @deprecated: LieScalar, LieVector and LieMatrix are obsolete in GTSAM 4.0 as + * we can directly add double, Vector, and Matrix into values now, because of + * gtsam::traits. */ struct LieMatrix : public Matrix { diff --git a/gtsam/base/LieScalar.h b/gtsam/base/LieScalar.h index 5125340be..c68458364 100644 --- a/gtsam/base/LieScalar.h +++ b/gtsam/base/LieScalar.h @@ -17,6 +17,7 @@ #pragma once +#warning "LieScalar.h is deprecated. Please use double/float instead." #include #include #include @@ -24,7 +25,9 @@ namespace gtsam { /** - * LieScalar is a wrapper around double to allow it to be a Lie type + * @deprecated: LieScalar, LieVector and LieMatrix are obsolete in GTSAM 4.0 as + * we can directly add double, Vector, and Matrix into values now, because of + * gtsam::traits. */ struct GTSAM_EXPORT LieScalar { diff --git a/gtsam/base/LieVector.h b/gtsam/base/LieVector.h index d1b2ad78c..94ba775cf 100644 --- a/gtsam/base/LieVector.h +++ b/gtsam/base/LieVector.h @@ -17,6 +17,7 @@ #pragma once +#warning "LieVector.h is deprecated. Please use Eigen::Vector instead." #include #include #include @@ -24,7 +25,9 @@ namespace gtsam { /** - * LieVector is a wrapper around vector to allow it to be a Lie type + * @deprecated: LieScalar, LieVector and LieMatrix are obsolete in GTSAM 4.0 as + * we can directly add double, Vector, and Matrix into values now, because of + * gtsam::traits. */ struct LieVector : public Vector { diff --git a/gtsam_unstable/timing/timeAdaptAutoDiff.cpp b/gtsam_unstable/timing/timeAdaptAutoDiff.cpp index be11453b5..437067697 100644 --- a/gtsam_unstable/timing/timeAdaptAutoDiff.cpp +++ b/gtsam_unstable/timing/timeAdaptAutoDiff.cpp @@ -18,7 +18,7 @@ #include "timeLinearize.h" #include -#include +#include #include #include #include