A minor error in pw2wan90epw.f90

Dear developers,

I would like to report a minor bug in pw2wan90epw.f90, related to the USPP case.

Line 1222 of pw2wan90epw.f90 in the current develop branch in GitLab says
[code:1gw3wjde]ALLOCATE ( qb(nkb, nkb, ntyp, nbt) )[/code:1gw3wjde]
However, it should be
[code:1gw3wjde]ALLOCATE ( qb(nhm, nhm, ntyp, nbt) )[/code:1gw3wjde]

This bug causes a problem in the called subroutine PW/src/transform_qq_so.f90 , and affects calculations with USPP and spin-orbit coupling.

The corresponding line in PP/src/pw2wannier90.f90 changed some time ago by the following commit: [url:1gw3wjde]https://gitlab.com/QEF/q-e/commit/6b740520eab157de7892120d6d4d4d99f0018f94[/url:1gw3wjde].

Sincerely,

Jae-Mo Lihm

Hi Jae-Mo,

Thanks for reporting this minor bug.

Best,
Roxana

Dear Jae-Mo Lihm,

Thanks for reporting.
I have made a PR:

https://gitlab.com/QEF/q-e/merge_requests/561

Best,
Samuel