Verified Commit 121f6e76 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test: print type code value

parent b083d753
......@@ -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>();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment