From b41630d3f463079b788993af453419fc790c5e81 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Thu, 14 Nov 2019 18:05:34 +0100
Subject: [PATCH] core: add getNumpyType

---
 include/eigenpy/details.hpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/eigenpy/details.hpp b/include/eigenpy/details.hpp
index 63fa01e..65b2103 100644
--- a/include/eigenpy/details.hpp
+++ b/include/eigenpy/details.hpp
@@ -114,6 +114,11 @@ namespace eigenpy
       static NP_TYPE np_type;
       return np_type;
     }
+    
+    static bp::object getNumpyType()
+    {
+      return getInstance().CurrentNumpyType;
+    }
 
   protected:
     NumpyType()
-- 
GitLab