Browse Source

typo

pre-master-46
Holger Vogt 9 months ago
parent
commit
9c1714d2f5
  1. 2
      src/frontend/inp.c

2
src/frontend/inp.c

@ -1779,7 +1779,7 @@ com_alterparam(wordlist *wl)
/* alterparam subcktname pname=vpval /* alterparam subcktname pname=vpval
Parameters from within subcircuit are no longer .param lines, but have been added to Parameters from within subcircuit are no longer .param lines, but have been added to
the .subckt line as pname=paval and to the x line as pval. pval in the x line takes the .subckt line as pname=paval and to the x line as pval. pval in the x line takes
precedence when subciruit is called, so has to be replaced here.
precedence when subcircuit is called, so has to be replaced here.
Find subcircuit with subcktname. Find subcircuit with subcktname.
After params: Count the number of parameters (notok) until parameter pname is found. After params: Count the number of parameters (notok) until parameter pname is found.
When found, search for x-line with subcktname. When found, search for x-line with subcktname.

Loading…
Cancel
Save