# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1226055653 -3600
# Node ID 5a3d689ea770255b4ba128fb91892266d3bb17a2
# Parent 00c8843d491d53848439decbb302abdb8525f173
Bug fix in SmartGraph::restoreSnapshot() (#171)
diff --git a/lemon/smart_graph.h b/lemon/smart_graph.h
a
|
b
|
|
730 | 730 | dir.push_back(arcFromId(n)); |
731 | 731 | dir.push_back(arcFromId(n-1)); |
732 | 732 | Parent::notifier(Arc()).erase(dir); |
733 | | nodes[arcs[n].target].first_out=arcs[n].next_out; |
734 | | nodes[arcs[n-1].target].first_out=arcs[n-1].next_out; |
| 733 | nodes[arcs[n-1].target].first_out=arcs[n].next_out; |
| 734 | nodes[arcs[n].target].first_out=arcs[n-1].next_out; |
735 | 735 | arcs.pop_back(); |
736 | 736 | arcs.pop_back(); |
737 | 737 | } |