Skip to content

Commit 121f6e7

Browse files
committed
test: print type code value
1 parent b083d75 commit 121f6e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unittest/user_type.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ void expose_custom_type(const std::string & name)
8989
.def("__repr__",&Type::print)
9090
;
9191

92-
eigenpy::registerNewType<Type>();
92+
int code = eigenpy::registerNewType<Type>();
93+
std::cout << "code: " << code << std::endl;
9394
eigenpy::registerCommonUfunc<Type>();
9495
}
9596

0 commit comments

Comments
 (0)