From 923d1abd9b2672f269ac6e890ecc1f1d336c3ec4 Mon Sep 17 00:00:00 2001 From: Pariterre Date: Sun, 8 Nov 2020 13:48:38 -0500 Subject: [PATCH] added exp to scalar --- include/rbdl/CasadiMath/MX_Xd_utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/rbdl/CasadiMath/MX_Xd_utils.h b/include/rbdl/CasadiMath/MX_Xd_utils.h index d93ee58..a61eaa5 100644 --- a/include/rbdl/CasadiMath/MX_Xd_utils.h +++ b/include/rbdl/CasadiMath/MX_Xd_utils.h @@ -326,6 +326,10 @@ inline MX_Xd_scalar operator-( } +inline RBDLCasadiMath::MX_Xd_scalar exp(const RBDLCasadiMath::MX_Xd_scalar& x){ + return casadi::MX::exp(x); +} + namespace std { using namespace RBDLCasadiMath;