Skip to content

2026PKUCourseHW5: Replace C-style cast with static_cast in read_pp_complete.cpp#7183

Merged
mohanchen merged 1 commit intodeepmodeling:developfrom
Howard-Shao09:feature/fix-int-cast-msh
Mar 29, 2026
Merged

2026PKUCourseHW5: Replace C-style cast with static_cast in read_pp_complete.cpp#7183
mohanchen merged 1 commit intodeepmodeling:developfrom
Howard-Shao09:feature/fix-int-cast-msh

Conversation

@Howard-Shao09
Copy link
Copy Markdown

replaced the C-style cast (int) with static_cast in source/source_cell/read_pp_complete.cpp at line 143 for better type safety. This is for the PKU Parallel Programming course homework5.

Copy link
Copy Markdown
Collaborator

@mohanchen mohanchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent job! Thanks for your contribution.

@mohanchen mohanchen added the Refactor Refactor ABACUS codes label Mar 29, 2026
@mohanchen mohanchen merged commit 6eec740 into deepmodeling:develop Mar 29, 2026
1 check passed
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.

2 participants