Skip to content

Commit

Permalink
Merge pull request #31 from goccy/feature/fix-subgraph-not-idempotent
Browse files Browse the repository at this point in the history
Fix the issue that the order of subgraph does not idempotent
  • Loading branch information
goccy committed Sep 11, 2020
2 parents 4386398 + 84c4857 commit aabab27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ccall/cgraph/graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Agraph_t *agopen1(Agraph_t * g)
g->n_id = agdtopen(g, &Ag_subnode_id_disc, Dttree);
g->e_seq = agdtopen(g, g == agroot(g)? &Ag_mainedge_seq_disc : &Ag_subedge_seq_disc, Dttree);
g->e_id = agdtopen(g, g == agroot(g)? &Ag_mainedge_id_disc : &Ag_subedge_id_disc, Dttree);
g->g_dict = agdtopen(g, &Ag_subgraph_id_disc, Dttree);
g->g_dict = agdtopen(g, &Ag_subgraph_id_disc, Dtlist);

par = agparent(g);
if (par) {
Expand Down

0 comments on commit aabab27

Please sign in to comment.