Corrected an error from yesterday's commit; the test case for

parallel combinations with disconnected nodes works with the error,
but in general it won't.
This commit is contained in:
Tim Edwards 2021-03-02 10:58:36 -05:00
parent 1f50c7ccc5
commit f92192efd4
1 changed files with 2 additions and 2 deletions

View File

@ -3216,7 +3216,7 @@ int CombineParallel(char *model, int file)
pptr += pstr - (char *)2;
for (ob2 = ob; ob2 && (ob2->type > FIRSTPIN || ob2 == ob); ob2 = ob2->next) {
if ((ob->node >= 0) && (nodecount[ob->node] == 1))
if ((ob2->node >= 0) && (nodecount[ob2->node] == 1))
strcat(pptr, "_nc");
else
sprintf(pptr, "_%d", ob2->node);
@ -3290,7 +3290,7 @@ int CombineParallel(char *model, int file)
else {
/* Find parallel device "ob" and append properties of */
/* "sob" to it. If "ob" does not have properties, then */
/* create a property record and set property "M" to 2. */
/* create a property record and set property "M" to 1. */
/* Find last non-property record of sob ( = pob) */
/* Find first property record of sob ( = spropfirst) */