Skip to content

Fix an array bound mismatch.

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

Description

Fix an array bound mismatch.

In the case of k-point symmetries, together with a k-point path, the copy routine was leading to an array bound mismatch, as the arrays of the original grids are allocated to the number of points in the full Brillouin zone, and not to the irreducible one.

The range of the DOS was also computed taking into account k-points in the path, which is now solved.

News snippet

Fix an array bound mismatch. The range of the DOS is now independent of the k-points in the path.

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.
Edited by Nicolas Tancogne-Dejean

Merge request reports

Loading