From 27b095754e8b8d3bed4571f25174199103ba14a0 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Mon, 31 Oct 2022 17:32:15 -0400 Subject: [PATCH] Fixed an error that prints bogus property mismatch errors when netgen is supposed to be checking properties for symmetry sorting, but not reporting anything. This causes mysterious property mismatch errors that don't actually exist to show up in the output. --- VERSION | 2 +- base/netcmp.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 89837e0..b294806 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.237 +1.5.238 diff --git a/base/netcmp.c b/base/netcmp.c index 76eecb9..e2105ac 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -5999,10 +5999,12 @@ PropertyMatch(struct objlist *ob1, int file1, else if ((t2type != PROPERTY) && (checked_one == TRUE)) { // t1 has more property records than t2, and they did not get // merged equally by PropertySortAndCombine(). - Fprintf(stdout, "Circuit 2 parallel/series network does not match" + if (do_print) { + Fprintf(stdout, "Circuit 2 parallel/series network does not match" " Circuit 1\n"); - DumpNetwork(ob1, 1); - DumpNetwork(ob2, 2); + DumpNetwork(ob1, 1); + DumpNetwork(ob2, 2); + } mismatches++; } else if (t2type != PROPERTY) {