From f82cc35ce26b9ce2b7966d560e39dfdfb6bff180 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 31 Jul 2026 14:10:46 +0200 Subject: [PATCH] Revert "Disable topology reduction by default. Enable it by setting" This reverts commit 39c662c12b5126daf4c787bf71ba319b14eb5320. --- src/spicelib/analysis/cktsetup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/analysis/cktsetup.c b/src/spicelib/analysis/cktsetup.c index 1ceb59e4c..5076e27e5 100644 --- a/src/spicelib/analysis/cktsetup.c +++ b/src/spicelib/analysis/cktsetup.c @@ -58,7 +58,7 @@ Author: 1985 Thomas L. Quarles * tree rather than in GENnode(), so they are walked separately below -- without * that, a node touched only by a code model would look floating and its passive * would be wrongly pruned. Only capacitors and resistors are ever removed. - * Enable with `set topo_reduce` in .spiceinit. It is disabled always + * Disable with `set no_topo_reduce` in .spiceinit. It is disabled as well * if option rshunt=xx is selected.*/ static void CKTtopologyReduce(CKTcircuit *ckt) @@ -69,7 +69,7 @@ CKTtopologyReduce(CKTcircuit *ckt) GENmodel *gmod; GENinstance *ginst; - if (!cp_getvar("topo_reduce", CP_BOOL, NULL, 0)) + if (cp_getvar("no_topo_reduce", CP_BOOL, NULL, 0)) return; #ifdef XSPICE