bug dans la table de hash repertoriant les arcs entre les noeuds
soit on prend le pointeur sur le noeud, soit on prend son nom... le choix: table basee sur le nom des noeuds
This commit is contained in:
parent
a3ff537c57
commit
2c0047ea19
|
@ -221,7 +221,7 @@ autarc_list *addautgrapharc( Graph, NodeFrom, NodeTo )
|
||||||
NodeFrom->ARC_FROM = addchain( NodeFrom->ARC_FROM, Arc );
|
NodeFrom->ARC_FROM = addchain( NodeFrom->ARC_FROM, Arc );
|
||||||
NodeTo->ARC_TO = addchain( NodeTo->ARC_TO , Arc );
|
NodeTo->ARC_TO = addchain( NodeTo->ARC_TO , Arc );
|
||||||
|
|
||||||
addauth2elem( Graph->HASH_ARC, (char *)NodeFrom, (char *)NodeTo, (long)Arc );
|
addauth2elem( Graph->HASH_ARC, NodeFrom->NAME, NodeTo->NAME, (long)Arc );
|
||||||
|
|
||||||
return( Arc );
|
return( Arc );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue