Skip to content

DFT+U and CP: the ns variables containing atomic occupancies were written

giannozz requested to merge giannozz/q-e:develop into develop

according to the order of indices of pw.x, but had a different ordering in cp.x! This might be the origin of mysterious crashes with CP and DFT+U. Now the ns variables are defined in the same way in the two codes.

Merge request reports