openmc
openmc copied to clipboard
implemented the change in state_point.cpp and test_state_point.py
Description
Please include a summary of the change and which issue is fixed if applicable. Please also include relevant motivation and context.
Fixes # 2393 (issue)
Checklist
- [x] I have performed a self-review of my own code
- [x] I have run clang-format (version 15) on any C++ source files (if applicable)
- [x] I have followed the style guidelines for Python source files (if applicable)
- [x] I have made corresponding changes to the documentation (if applicable)
- [x] I have added tests that prove my fix is effective or that my feature works (if applicable)