From 84ce2b4084fe3a044fc83a37e8d08e97cdf47bf5 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 16 Jan 2026 15:43:48 +0100 Subject: [PATCH] Exclude B voltage source, whan '.probe alli' is used. It already gets a bxx#branch for current measurement. --- src/frontend/inpc_probe.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/inpc_probe.c b/src/frontend/inpc_probe.c index 99c4bcc5d..e77437bef 100644 --- a/src/frontend/inpc_probe.c +++ b/src/frontend/inpc_probe.c @@ -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)