Skip to content

Bugfix in oct-wannier90

Nicolas Tancogne-Dejean requested to merge fix_wannier90_wannier into develop

Description

Add a check to avoid infinite loops in case one tries to exclude a state with higher index than st%nst. Also, the code does not compute the external potential anymore when calling oct-wannier90, as this is not needed for the utility.

News snippet

A small fix and an improvement for oct-wannier90.

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