return -1;
}
+ if (path->n_diodes <= 0)
+ return 0;
+
p0 = path->pins->data[0];
p1 = path->pins->data[path->pins->size - 1];
i = info->j;
}
+ scf_logd("c%ldp%ld--c%ldp%ld, r: %lg, v: %lg\n", p0->cid, p0->id, p1->cid, p1->id, r, v);
+
if (i < path->pins->size - 1) {
pi = path->pins->data[i];
r += p1->sr - p1->r - pi->pr;
jr += p1->jsr - p1->jr - pi->jpr;
- scf_logi("c%ldp%ld--c%ldp%ld, r: %lg, v: %lg\n", pi->cid, pi->id, p1->cid, p1->id, r, v);
+ scf_logd("c%ldp%ld--c%ldp%ld, r: %lg, v: %lg, pi->pr: %lg, p1->sr: %lg, p1->r: %lg\n",
+ pi->cid, pi->id, p1->cid, p1->id, r, v, pi->pr, p1->sr, p1->r);
}
ses_ur_i(&a, &ja, v, jv, r, jr);