We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ca46f commit 2a9b3b5Copy full SHA for 2a9b3b5
include/eigenpy/type_info.hpp
@@ -66,10 +66,10 @@ struct TypeInfoVisitor : public bp::def_visitor<TypeInfoVisitor<C> > {
66
67
private:
68
static boost::typeindex::type_index boost_type_info(const C& self) {
69
- return boost::typeindex::type_id<C>();
+ return boost::typeindex::type_id_runtime(self);
70
}
71
72
- static std::type_index std_type_info(const C& self) { return typeid(C); }
+ static std::type_index std_type_info(const C& self) { return typeid(self); }
73
};
74
75
} // namespace eigenpy
0 commit comments