Ticket #4138 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

subgraph global_to_local for edges

Reported by: jberry Owned by:
Priority: normal Milestone: 1.2
Version: 1.1.1 Severity: normal
Keywords: Cc:


The subgraph_adapter API is written to send a base_edge_descriptor into global_to_local, and to expect a local edge_descriptor back. However, the method calls xmt_hash_table.lookup on m_local_edge, which is declared to be xmt_hash_table<base_edge_descriptor,size_type>. The value should be edge_descriptor, not size_type. The same applies to the vertex lookup, but we probably haven't noticed it since the vertex_descriptor of compressed_sparse_row_graph is the same as its size_type.

Change History

comment:1 Changed 3 years ago by gemacke

  • Status changed from new to closed
  • Resolution set to fixed

This has been fixed for a while. Closing.

Note: See TracTickets for help on using tickets.