__ses_path_va()
authoryu.dongliang <18588496441@163.com>
Tue, 5 Sep 2023 11:15:25 +0000 (19:15 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 5 Sep 2023 11:15:25 +0000 (19:15 +0800)
ses_step_va.c

index e696effa1b01beab926cf57a5372579e5b1d160d..8d4577df95ae19243d8953abe8eb0689d1648341 100644 (file)
@@ -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;
                        }
                }