Skip to content

Commit

Permalink
[bugfix] fix dynamic engine single run, status problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunelFeng committed Jan 20, 2024
1 parent 75ab185 commit bfddbd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int main() {

<p align="center"><img src="https://github.com/ChunelFeng/CGraph/blob/main/doc/image/HelloGithub%20Logo.gif"/></p>

* 感谢《Github中文排行榜》介绍和推荐:[Github中文排行榜 增速榜-C++分类](https://github.com/GrowingGit/GitHub-Chinese-Top-Charts/blob/master/content/charts/growth/software/CPP.md)
* 感谢《Github中文排行榜》介绍和推荐:[Github中文排行榜 总榜-C++分类](https://github.com/GrowingGit/GitHub-Chinese-Top-Charts/blob/master/content/charts/overall/software/CPP.md)

<p align="center"><img src="https://github.com/ChunelFeng/CGraph/blob/main/doc/image/GrowingGit%20Logo.png"/></p>

Expand All @@ -335,7 +335,7 @@ int main() {
<details>
<summary><b>附录-3. 联系方式</b></summary>

* 微信: ChunelFeng (欢迎扫描上方二维码,和项目主要作者成为好友。请简单备注个人信息^_^)
* 微信: ChunelFeng (欢迎扫描上方二维码,添加作者为好友。请简单备注个人信息^_^)
* 邮箱: [email protected]
* 源码: https://github.com/ChunelFeng/CGraph
* 论坛: www.chunel.cn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ CVoid GDynamicEngine::wait() {
CVoid GDynamicEngine::parallelRunAll() {
// 特殊判定:如果只有一个节点的话,则直接执行就好了
if (1 == total_end_size_) {
cur_status_ = front_element_arr_[0]->fatProcessor(CFunctionType::RUN);
cur_status_ += front_element_arr_[0]->fatProcessor(CFunctionType::RUN);
return;
}

Expand Down

0 comments on commit bfddbd4

Please sign in to comment.