Skip to content

2026PKUCourseHW5:Improve error message in Fcoef::create#7131

Open
collapsar-z wants to merge 1 commit intodeepmodeling:developfrom
collapsar-z:hw5-fix
Open

2026PKUCourseHW5:Improve error message in Fcoef::create#7131
collapsar-z wants to merge 1 commit intodeepmodeling:developfrom
collapsar-z:hw5-fix

Conversation

@collapsar-z
Copy link

Summary

Improve the error message in Fcoef::create in source/source_pw/module_pwdft/soc.cpp.

Motivation

The original error message not allowed! was too vague and did not provide enough context for debugging invalid input dimensions.

Changes

  • Replaced the vague error message with a more descriptive one
  • Included the values of i1, i2, and i3
  • Clarified that all dimensions must be positive

Notes

This PR is submitted for PKU Parallel Programming Course HW5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant