From 79cb4d067f891cf9e565ca1d90240f62b9325f04 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Fri, 7 Jan 2022 12:40:49 -0500 Subject: [PATCH] undo deprecation in BayesTree until later --- gtsam/inference/BayesTree.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gtsam/inference/BayesTree.h b/gtsam/inference/BayesTree.h index d368bd486..a32b3ce22 100644 --- a/gtsam/inference/BayesTree.h +++ b/gtsam/inference/BayesTree.h @@ -72,7 +72,8 @@ namespace gtsam { public: typedef CLIQUE Clique; ///< The clique type, normally BayesTreeClique typedef boost::shared_ptr sharedClique; ///< Shared pointer to a clique - + typedef Clique Node; ///< Synonym for Clique (TODO: remove) + typedef sharedClique sharedNode; ///< Synonym for sharedClique (TODO: remove) typedef typename CLIQUE::ConditionalType ConditionalType; typedef boost::shared_ptr sharedConditional; typedef typename CLIQUE::BayesNetType BayesNetType; @@ -268,12 +269,6 @@ namespace gtsam { /// @} -#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V42 - public: - typedef GTSAM_DEPRECATED Clique Node; ///< Synonym for Clique (TODO: remove) - typedef GTSAM_DEPRECATED sharedClique sharedNode; ///< Synonym for sharedClique (TODO: remove) -#endif - }; // BayesTree /* ************************************************************************* */