Opened 14 years ago
Closed 14 years ago
#2658 closed Bugs (fixed)
Problems in read_dimacs_max_flow
Reported by: | Owned by: | Jeremiah Willcock | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | graph |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | graph dimacs | Cc: |
Description
There two problems I noticed using read_dimacs_max_flow :
- First, at the end of the parsing loop, a conditional test is done : if ( feof (stdin) == 0 ) /* reading error */
{ err_no=EN21; goto error; }
As the loop is dealing with "std::istream& in=std::cin" I assume it's a mistake.
- "capacity" and "reverse_edge" are not referenced
int read_dimacs_max_flow(Graph& g,
CapacityMap capacity, ReverseEdgeMap reverse_edge, typename graph_traits<Graph>::vertex_descriptor& src, typename graph_traits<Graph>::vertex_descriptor& sink, std::istream& in=std::cin)
- Even with documentation examples I have this message :
malloc: * error for object 0x1000f4: Non-aligned pointer being freed
Regards
Change History (4)
comment:1 by , 14 years ago
Component: | None → graph |
---|---|
Owner: | set to |
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closing unless someone reports problem 3 again.
Note:
See TracTickets
for help on using tickets.
The first two parts of the bug report should be fixed now (point 1 in r50806 and point 2 at an undetermined time in the past). Could the submitter please test point 3 again?