Skip to content

Commit ded7931

Browse files
committed
fix(grcc): fix for single-vertex graph with GRCC_OPT_Block
From T. Kaneko by email.
1 parent 2fc5602 commit ded7931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/grcc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5154,7 +5154,7 @@ Bool MGraph::isOptM(void)
51545154
selfloop = (mconn->nselfloops > 0);
51555155
multiedge = (mconn->nmultiedges > 0);
51565156
tadblock = (mconn->na1blocks > 0);
5157-
block = (mconn->neblocks == 1);
5157+
block = (mconn->neblocks <= 1);
51585158
extself = (mconn->ne1bridges > 0);
51595159

51605160
if (opt->values[GRCC_OPT_1PI] > 0) {

0 commit comments

Comments
 (0)