From 481be105090ac02f8a6a1e38f85dd859496cc0eb Mon Sep 17 00:00:00 2001 From: dellaert Date: Sun, 7 Dec 2014 18:55:33 +0100 Subject: [PATCH] A bit more compact --- gtsam/base/concepts.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gtsam/base/concepts.h b/gtsam/base/concepts.h index 3eabdd3ad..733f85696 100644 --- a/gtsam/base/concepts.h +++ b/gtsam/base/concepts.h @@ -192,16 +192,13 @@ public: } BOOST_CONCEPT_USAGE(IsGroup) { - using group::compose; - using group::between; - using group::inverse; BOOST_STATIC_ASSERT_MSG( (boost::is_base_of::value), "This type's structure_category trait does not assert it as a group (or derived)"); e = group::traits::identity::value; - g = compose(g, h); - g = between(g, h); - g = inverse(g); + g = group::compose(g, h); + g = group::between(g, h); + g = group::inverse(g); operator_usage(flavor); }