File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
bindings/python/src/modelling Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ void exposeCostStack() {
6868 .def (CopyableVisitor<CostStack>())
6969 .def (PolymorphicMultiBaseVisitor<CostAbstract>());
7070#if ALIGATOR_EIGENPY_HAS_MAP_SUPPORT
71- eigenpy::GenericMapVisitor<CostMap, true >::expose (" CostMap" );
71+ eigenpy::GenericMapVisitor<CostMap, true >::expose (
72+ " CostMap" , eigenpy::overload_base_get_item_for_map<CostMap>());
7273#endif
7374 }
7475
@@ -79,7 +80,8 @@ void exposeCostStack() {
7980 " CostStackData" , " Data struct for CostStack." , bp::no_init)
8081 .def_readonly (" sub_cost_data" , &CostStackData::sub_cost_data);
8182#if ALIGATOR_EIGENPY_HAS_MAP_SUPPORT
82- eigenpy::GenericMapVisitor<CostStackData::DataMap, true >::expose (" DataMap" );
83+ eigenpy::GenericMapVisitor<CostStackData::DataMap, true >::expose (
84+ " CostMap" , eigenpy::overload_base_get_item_for_map<CostMap>());
8385#endif
8486 }
8587}
You can’t perform that action at this time.
0 commit comments