Exclude B voltage source, whan '.probe alli' is used.

It already gets a bxx#branch for current measurement.
This commit is contained in:
Holger Vogt 2026-01-16 15:43:48 +01:00
parent 1601571432
commit 84ce2b4084
1 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,10 @@ void inp_probe(struct card* deck)
if (strchr("ehvk", *instname))
continue;
/* exclude B voltage source */
if (strchr("b", *instname) && strstr(curr_line, "v="))
continue;
/* exclude a devices (code models may have special characters in their instance line.
digital nodes should not get V sources in series anyway.) */
if ('a' == *instname)