Changeset 184:716b220697a0 in lemon1.0 for lemon/list_graph.h
 Timestamp:
 03/27/08 16:27:23 (12 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/list_graph.h
r149 r184 116 116 for(n = first_node; 117 117 n!=1 && nodes[n].first_in == 1; 118 n = nodes[n].next) ;118 n = nodes[n].next) {} 119 119 arc.id = (n == 1) ? 1 : nodes[n].first_in; 120 120 } … … 126 126 int n; 127 127 for(n = nodes[arcs[arc.id].target].next; 128 n!=1 && nodes[n].first_in == 1;129 n = nodes[n].next);128 n!=1 && nodes[n].first_in == 1; 129 n = nodes[n].next) {} 130 130 arc.id = (n == 1) ? 1 : nodes[n].first_in; 131 131 }
Note: See TracChangeset
for help on using the changeset viewer.