From 2a9b3b52c5537c95e3f4693318afab1cfdfb0ee4 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Tue, 3 Sep 2024 14:30:41 +0200 Subject: [PATCH] typeinfo: fix arguments for runtime outputs --- include/eigenpy/type_info.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/eigenpy/type_info.hpp b/include/eigenpy/type_info.hpp index 7344bf42..6601677a 100644 --- a/include/eigenpy/type_info.hpp +++ b/include/eigenpy/type_info.hpp @@ -66,10 +66,10 @@ struct TypeInfoVisitor : public bp::def_visitor > { private: static boost::typeindex::type_index boost_type_info(const C& self) { - return boost::typeindex::type_id(); + return boost::typeindex::type_id_runtime(self); } - 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); } }; } // namespace eigenpy