qmcpack icon indicating copy to clipboard operation
qmcpack copied to clipboard

[Nexus] Fix `Structure.recenter_k()` and `Structure.recenter()`

Open brockdyer03 opened this issue 1 month ago • 1 comments

Proposed changes

Alternate form of #5345 after discussion with @jtkrogel.

What type(s) of changes does this code introduce?

  • Bugfix

Does this introduce a breaking change?

  • Yes
  • No

What systems has this change been tested on?

Ubuntu 22.04 Python 3.13.8 NumPy 2.3.4

Checklist

Update the following with an [x] where the items apply. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.

    • [ ] I have read the pull request guidance and develop docs
    • [ ] This PR is up to date with the current state of 'develop'
    • [ ] Code added or changed in the PR has been clang-formatted
    • [ ] This PR adds tests to cover any new code, or to catch a bug that is being fixed
    • [ ] Documentation has been added (if appropriate)

brockdyer03 avatar Nov 10 '25 19:11 brockdyer03