mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-02 02:58:01 +02:00
Found one additional issue in the extraction that causes incorrect
partitioning of unshielded areas reaching outward from any given edge, caused by using a boundary value in the 2nd recursion call that had been modified for the 1st recursion call and so was no longer valid.
This commit is contained in:
@@ -706,6 +706,8 @@ extOutputNodes(nodeList, outFile)
|
||||
{
|
||||
intR = (reg->nreg_resist + rround) / ExtCurStyle->exts_resistScale;
|
||||
finC = reg->nreg_cap/ExtCurStyle->exts_capScale;
|
||||
/* Avoid negative capacitance caused by round-off near zero */
|
||||
if (finC < 0.0) finC = 0.0;
|
||||
fprintf(outFile, "node \"%s\" %d %lg", text, intR, finC);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user