mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected the ext2spice device output for device length, which
somehow acquired a typo which made it write "w=". Resolves issue #223 from Mitch Bailey.
This commit is contained in:
@@ -427,7 +427,7 @@ esOutputHierResistor(hc, dev, scale, term1, term2, has_model, l, w, dscale)
|
||||
{
|
||||
fprintf(esSpiceF, " w=");
|
||||
esSIvalue(esSpiceF, 1.0E-6 * (float)w * scale * esScale);
|
||||
fprintf(esSpiceF, " w=");
|
||||
fprintf(esSpiceF, " l=");
|
||||
esSIvalue(esSpiceF, 1.0E-6 * (float)((l * scale * esScale) / dscale));
|
||||
}
|
||||
spcHierWriteParams(hc, dev, scale, l, w, sdM);
|
||||
|
||||
Reference in New Issue
Block a user