Skip to content

Refactor: Replace goto with while loop in occupy.cpp#6919

Merged
mohanchen merged 2 commits intodeepmodeling:developfrom
Cstandardlib:refactor/goto
Jan 28, 2026
Merged

Refactor: Replace goto with while loop in occupy.cpp#6919
mohanchen merged 2 commits intodeepmodeling:developfrom
Cstandardlib:refactor/goto

Conversation

@Cstandardlib
Copy link
Collaborator

Linked Issue

Fix #6918

What's changed?

  • Replace goto with a while loop in source/source_estate/occupy.cpp.

@Cstandardlib Cstandardlib added the Refactor Refactor ABACUS codes label Jan 27, 2026
@mohanchen mohanchen merged commit c243e11 into deepmodeling:develop Jan 28, 2026
14 checks passed
@Cstandardlib Cstandardlib deleted the refactor/goto branch January 28, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

goto spotted in occupy.cpp!

2 participants