Skip to content

Fix the routine species_same_as.

Nicolas Tancogne-Dejean requested to merge fix_species_same_as into main

Description

Fix the routine species_same_as. This was causing the DFT+U code to misbehave in certain cases, including the example in the tutorial.

News snippet

Bugfix for the code causing the DFT+U tutorial to produce wrong results.

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