From 121f6e769920bde06a1af9d2256a6a850ee7578f Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Mon, 28 Dec 2020 17:40:25 +0100
Subject: [PATCH] test: print type code value

---
 unittest/user_type.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/unittest/user_type.cpp b/unittest/user_type.cpp
index b128648a..a6fdeee8 100644
--- a/unittest/user_type.cpp
+++ b/unittest/user_type.cpp
@@ -89,7 +89,8 @@ void expose_custom_type(const std::string & name)
   .def("__repr__",&Type::print)
   ;
   
-  eigenpy::registerNewType<Type>();
+  int code = eigenpy::registerNewType<Type>();
+  std::cout << "code: " << code << std::endl;
   eigenpy::registerCommonUfunc<Type>();
 }
 
-- 
GitLab