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.
This commit is contained in:
Tim Edwards
2022-10-31 17:32:15 -04:00
parent db457c562b
commit 27b095754e
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
1.5.237
1.5.238
+5 -3
View File
@@ -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) {