Fix critical bug in qpms_vecspharm_fill()
commit9b9338be0544433dc6d6222a8bcc51c5b4c127df
authorMarek Nečada <marek@necada.org>
Sat, 4 Apr 2020 22:43:38 +0000 (5 01:43 +0300)
committerMarek Nečada <marek@necada.org>
Sat, 4 Apr 2020 22:43:38 +0000 (5 01:43 +0300)
tree861280543c7c8a0e0f5765619243f502d2cc1fd2
parente774b30d0ce20389a8ff274afeda12a7c7003a8e
Fix critical bug in qpms_vecspharm_fill()

Pointer incrementation in wrong cycle, leading to numerically
completely wrong results in most cases.

At higher level, this seems to have affected only plane wave
decompositions.

Former-commit-id: 7ebdb8b8f3f645d76e924b86379172d2c6fac8dc
qpms/vswf.c