else {
*r = 0;
*jr = 0;
+ return;
}
}
for (i = 0; i < path->childs->size; i++) {
child = path->childs->data[i];
- child->parent_r0 = 0;
- child->parent_jr0 = 0;
-
- child->parent_r1 = 0;
- child->parent_jr1 = 0;
-
- if (child->parent_p0 > 0)
- __ses_path_pr(f, path, 0, child->parent_p0, NULL, &child->parent_r0, &child->parent_jr0);
-
- if (child->parent_p1 < path->pins->size - 1)
- __ses_path_pr(f, path, child->parent_p1, path->pins->size - 1, NULL, &child->parent_r1, &child->parent_jr1);
+ __ses_path_pr(f, path, 0, child->parent_p0, NULL, &child->parent_r0, &child->parent_jr0);
+ __ses_path_pr(f, path, child->parent_p1, path->pins->size - 1, NULL, &child->parent_r1, &child->parent_jr1);
child->parent_r0 += path->parent_r0;
child->parent_jr0 += path->parent_jr0;
if (ret < 0)
return ret;
- path->parent_r0 = 0;
- path->parent_jr0 = 0;
-
- path->parent_r1 = 0;
- path->parent_jr1 = 0;
-
__ses_path_parent_jr(f, path);
printf("\n");
}