Corrected an inadvertent error in ResMakeRes.c introduced in a
recent commit, and fixed a more long-standing error in ext2spice.c where a nodeClient structure was initialized to the wrong type.
This commit is contained in:
parent
a55ec49434
commit
3e3d8e72e8
|
|
@ -3314,12 +3314,15 @@ spcdevSubstrate(
|
||||||
/* Canonical name */
|
/* Canonical name */
|
||||||
nn = (EFNodeName *) HashGetValue(he);
|
nn = (EFNodeName *) HashGetValue(he);
|
||||||
if (outf)
|
if (outf)
|
||||||
fprintf(outf, "%s", nodeSpiceName(nn->efnn_node->efnode_name->efnn_hier,
|
{
|
||||||
NULL));
|
const char *spicename;
|
||||||
|
spicename = nodeSpiceName(nn->efnn_node->efnode_name->efnn_hier, NULL);
|
||||||
|
fprintf(outf, "%s", spicename);
|
||||||
|
}
|
||||||
|
|
||||||
/* Create node client if it doesn't exist */
|
/* Create node client if it doesn't exist */
|
||||||
if ((nodeClient *)nn->efnn_node->efnode_client == (nodeClient *)NULL)
|
if ((nodeClient *)nn->efnn_node->efnode_client == (nodeClient *)NULL)
|
||||||
initNodeClientHier(nn->efnn_node);
|
initNodeClient(nn->efnn_node);
|
||||||
|
|
||||||
/* Mark node as visited (set bit one higher than number of resist classes) */
|
/* Mark node as visited (set bit one higher than number of resist classes) */
|
||||||
if (esDistrJunct)
|
if (esDistrJunct)
|
||||||
|
|
|
||||||
|
|
@ -261,7 +261,7 @@ ResCalcEastWest(tile, pendingList, doneList, resList)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
resistor->rr_tt = ttype;
|
resistor->rr_status = RES_EW;
|
||||||
}
|
}
|
||||||
#ifdef ARIEL
|
#ifdef ARIEL
|
||||||
resistor->rr_csArea = height *
|
resistor->rr_csArea = height *
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue