Skip to content

DFT+U bugfix for Gamma-only with spinors

Description

Fix a bug that was leading to the access of the X(orb) array outside of the bound in the case of gamma-only without phase, which arises mostly for Gamma-only spinor calculations.

News snippet

Minor bugfix for DFT+U.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.

Merge request reports

Loading