Verified Commit 1ada7aef authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: load Python warning module

parent cee2a3b5
......@@ -29,6 +29,11 @@ BOOST_PYTHON_MODULE(libpinocchio_pywrap)
bp::scope().attr("__raw_version__") = bp::str(PINOCCHIO_VERSION);
eigenpy::enableEigenPy();
// Enable warning
#ifndef Py_LIMITED_API
_PyWarnings_Init();
#endif
if(not register_symbolic_link_to_registered_type<Eigen::Quaterniond>())
eigenpy::exposeQuaternion();
if(not register_symbolic_link_to_registered_type<Eigen::AngleAxisd>())
......
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