| ... | ... |
@@ -305,7 +305,9 @@ |
| 305 | 305 |
Node b = addNode(); |
| 306 | 306 |
nodes[b._id].first_out=nodes[n._id].first_out; |
| 307 | 307 |
nodes[n._id].first_out=-1; |
| 308 |
for(int i=nodes[b._id].first_out;i!=-1; |
|
| 308 |
for(int i=nodes[b._id].first_out; i!=-1; i=arcs[i].next_out) {
|
|
| 309 |
arcs[i].source=b._id; |
|
| 310 |
} |
|
| 309 | 311 |
if(connect) addArc(n,b); |
| 310 | 312 |
return b; |
| 311 | 313 |
} |
0 comments (0 inline)