Skip to content

Fix uninitialized values

Nicolas Tancogne-Dejean requested to merge fix_uninitialized_variable into hotfix-10.3

Description

The array num_sum_ops was allocated for the number of k-points even in the case of symmetries, leading to uninitialized values.

News snippet

Fix an uninitialized value bug in case of k-point symmetries.

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