The code below crashes (segfault) in the max_flow() function. Could you tell me what am I doing wrong ?
It seems to work when I set a capacity capacity[p2.first] with a value smaller than 10 (capacity[p.first]). Am I missing something? Do I correctly use the reverse property_map?
 
Where precisely does it crash?

Andrew Sutton
andrew.n.sutton@gmail.com