Skip to content

Commit

Permalink
Corrected an error that prevents property errors from being
Browse files Browse the repository at this point in the history
printed in detail if a port error is also found.
  • Loading branch information
RTimothyEdwards committed Oct 16, 2024
1 parent e1aa231 commit 4c546d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.284
1.5.285
12 changes: 10 additions & 2 deletions tcltk/tclnetgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -2522,8 +2522,16 @@ _netcmp_run(ClientData clientData,

if (automorphisms == -1)
Fprintf(stdout, "Netlists do not match.\n");
else if (automorphisms == -2)
Fprintf(stdout, "Netlists match uniquely with port errors.\n");
else if (automorphisms == -2) {
Fprintf(stdout, "Netlists match uniquely with port");
if (PropertyErrorDetected) {
Fprintf(stdout, " and property errors.\n");
PrintPropertyResults(dolist);
}
else {
Fprintf(stdout, " errors.\n");
}
}
else {
if (automorphisms == 0)
Fprintf(stdout, "Netlists match uniquely");
Expand Down

0 comments on commit 4c546d1

Please sign in to comment.