Opened 12 years ago

Closed 12 years ago

#4311 closed Bugs (fixed)

boost graph compressed sparse row graph in_edges doesn't compile

Reported by: Sören Meyer-Eppler <Soeren.Meyer-Eppler@…> Owned by: Jeremiah Willcock
Milestone: Boost 1.43.0 Component: graph
Version: Boost 1.43.0 Severity: Problem
Keywords: Cc:

Description

compressed_sparse_row_graph.hpp contains an in_edges template that uses: return std::make_pair(it(ed(v, v_row_start)),

it(ed(v, next_row_start)));

to create its return value. However, there is no inedge constructor that takes an edge descriptor as argument. Use this instead:

return std::make_pair(it(g, v_row_start),it(g,next_row_start));

Change History (2)

comment:1 by Jeremiah Willcock, 12 years ago

Owner: changed from Andrew Sutton to Jeremiah Willcock
Status: newassigned

comment:2 by Jeremiah Willcock, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [62592]) Added fixes and tests for CSR in_edge_iterator; fixes #4310, #4311

Note: See TracTickets for help on using tickets.