From dd84b1fcd3f8db4db184e9d4fd2c368f8415a16c Mon Sep 17 00:00:00 2001 From: Markus Mueller Date: Fri, 31 Jul 2020 14:22:16 +0200 Subject: [PATCH] fix bug in Cscp stamp --- src/spicelib/devices/hicum2/hicumL2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/devices/hicum2/hicumL2.cpp b/src/spicelib/devices/hicum2/hicumL2.cpp index 9b0b1f19d..400bc0524 100644 --- a/src/spicelib/devices/hicum2/hicumL2.cpp +++ b/src/spicelib/devices/hicum2/hicumL2.cpp @@ -2907,9 +2907,9 @@ load: *(ckt->CKTrhs + here->HICUMcollNode) += rhs_current; // with respect to Vsc *(here->HICUMsubsSubsPtr) += Isc_Vsc; - *(here->HICUMsubsCollPtr) += Isc_Vsc; + *(here->HICUMcollCollPtr) += Isc_Vsc; + *(here->HICUMsubsCollPtr) += -Isc_Vsc; *(here->HICUMcollSubsPtr) += -Isc_Vsc; - *(here->HICUMcollCollPtr) += -Isc_Vsc; // finish // Branch: bci, Stamp element: Qbcx