diff --git a/gtsam/nonlinear/expressions.h b/gtsam/nonlinear/expressions.h index c496834d4..efbf207d4 100644 --- a/gtsam/nonlinear/expressions.h +++ b/gtsam/nonlinear/expressions.h @@ -18,6 +18,11 @@ Expression between(const Expression& t1, const Expression& t2) { return Expression(traits::Between, t1, t2); } +template +Expression compose(const Expression& t1, const Expression& t2) { + return Expression(traits::Compose, t1, t2); +} + typedef Expression Double_; typedef Expression Vector3_;