From 01b2cd4fead7346ccf8ba0c26a08352871b6bd44 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Tue, 5 Sep 2023 19:15:25 +0800 Subject: [PATCH] __ses_path_va() --- ses_step_va.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ses_step_va.c b/ses_step_va.c index e696eff..8d4577d 100644 --- a/ses_step_va.c +++ b/ses_step_va.c @@ -235,16 +235,16 @@ static int __ses_path_va(ScfEfunction* f, ses_path_t* path) __ses_ir_u(&_v, &_jv, a, ja, _r, _jr); __ses_ur_i(&_a, &_ja, _v, _jv, child->r, child->jr); + a -= _a; + ja -= _ja; + el = f->elines[p2->lid]; el->v = p->v - _v; el->jv = p->jv - _jv; -// int ret = __ses_path_va(f, child); -// if (ret < 0) -// return ret; - - a -= _a; - ja -= _ja; + int ret = __ses_path_va(f, child); + if (ret < 0) + return ret; } } -- 2.25.1