This commit is contained in:
Holger Vogt 2025-06-27 17:18:37 +02:00
parent af7a600c20
commit 36edfd47c2
1 changed files with 1 additions and 1 deletions

View File

@ -1779,7 +1779,7 @@ com_alterparam(wordlist *wl)
/* alterparam subcktname pname=vpval
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
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.
After params: Count the number of parameters (notok) until parameter pname is found.
When found, search for x-line with subcktname.