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:
Francois Donnet 2002-08-23 08:57:58 +00:00
parent a3ff537c57
commit 2c0047ea19
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
} }