Skip to content

[core] suspicious conversion in FsmEdge::propagateRelativePos

myRelativeID.insert(kvp.first); https://gitlab.eclipse.org/eclipse/aidge/aidge_core/-/blob/main/src/graphRegex/matchFsm/FsmEdge.cpp?ref_type=heads#L47 myRelativeID is a set of int while kvp is ```std::pair<const size_t, int>` hypothesis:

  • myRelativeID should be a std::set<std::size_t>
  • or myRelativeID.insert(kvp.second);

I cannot tell from the documentation.