} else if (j > f->n_elines / 2) {
el1 = f->elines[j];
++j;
- } else {
+ } else
el1 = f->elines[j];
- }
for (m = f->n_elines - 1; m > j; m--)
f->elines[m] = f->elines[m - 1];
if (j == i)
continue;
- scf_loge("n: %ld, mov el%ld [%ld] --> [%ld] el%ld\n", n, el0->id, i, j, el1->id);
+ scf_loge("n: %ld, mov el%ld [%ld] --> [%ld] el%ld\n", N_PINS / 2 - n, el0->id, i, j, el1->id);
}
printf("\n");
}
if (k < 2)
p1->x = c->x;
- else {
+ else
p1->x += c->x - tmp;
-// p1->x = (c->x * 3 + p1->x) / 4;
- }
}
}
qsort(f->components, f->n_components, sizeof(ScfEcomponent*), ecomponent_cmp_id);