From: yu.dongliang <18588496441@163.com> Date: Tue, 26 Sep 2023 07:38:05 +0000 (+0800) Subject: __ses_path_split_i() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=0d60f38025760a7b12775d489b4950a02af078a2;p=ses.git __ses_path_split_i() --- diff --git a/ses_step_va_diode.c b/ses_step_va_diode.c index c922366..90f521f 100644 --- a/ses_step_va_diode.c +++ b/ses_step_va_diode.c @@ -30,6 +30,12 @@ void __ses_path_split_i(ses_path_t* path, ScfEpin* p0, ScfEpin* p1, double la, d cp1->a = child->a; cp1->ja = child->ja; + cp1->v = p1->v; + cp1->jv = p1->jv; + + cp0->v = p0->v; + cp0->jv = p0->jv; + if (child->childs) __ses_path_split_i(child, cp0, cp1, child->a, child->ja, &cp1->a, &cp1->ja);