Merge branch 'master' into netgen-1.5
This commit is contained in:
commit
2ce3cf8dd9
|
|
@ -2706,7 +2706,9 @@ CheckLegalElementPartition(struct ElementClass *head)
|
|||
found = 0;
|
||||
for (scan = head; scan != NULL; scan = scan->next) {
|
||||
|
||||
if (scan->count == 2) continue;
|
||||
/* Quick check for matching 1:1 case */
|
||||
if ((scan->count == 2) && (scan->elements->graph != scan->elements->next->graph))
|
||||
continue;
|
||||
C1 = C2 = 0;
|
||||
for (E = scan->elements; E != NULL; E = E->next) {
|
||||
if (E->graph == Circuit1->file) C1++;
|
||||
|
|
@ -2828,7 +2830,9 @@ CheckLegalNodePartition(struct NodeClass *head)
|
|||
found = 0;
|
||||
for (scan = head; scan != NULL; scan = scan->next) {
|
||||
|
||||
if (scan->count == 2) continue;
|
||||
/* Quick check for matching 1:1 case */
|
||||
if ((scan->count == 2) && (scan->nodes->graph != scan->nodes->next->graph))
|
||||
continue;
|
||||
C1 = C2 = 0;
|
||||
for (N = scan->nodes; N != NULL; N = N->next) {
|
||||
if (N->graph == Circuit1->file) C1++;
|
||||
|
|
|
|||
|
|
@ -2651,8 +2651,10 @@ _netcmp_verify(ClientData clientData,
|
|||
disable_interrupt();
|
||||
if (index == EQUIV_IDX || index == UNIQUE_IDX)
|
||||
Tcl_SetObjResult(interp, Tcl_NewBooleanObj(0));
|
||||
else
|
||||
else {
|
||||
Fprintf(stdout, "Netlists do not match.\n");
|
||||
Fprintf(stdout, "Port matching may fail to disambiguate symmetries.\n");
|
||||
}
|
||||
}
|
||||
else if (automorphisms == -2) {
|
||||
if (index == EQUIV_IDX)
|
||||
|
|
|
|||
Loading…
Reference in New Issue