Fix offset increment in matrix packing.

Now it works for a z-dipole system.


Former-commit-id: 3e4aa9d4736ecc18e561d0ba5c2c19b0a027e37c
This commit is contained in:
Marek Nečada 2019-03-13 13:24:44 +02:00
parent d11db980f9
commit 07aed6feb7
1 changed files with 1 additions and 1 deletions

View File

@ -1053,8 +1053,8 @@ complex double *qpms_scatsys_irrep_pack_matrix(complex double *target_packed,
}
fullvec_offsetC += otC->bspecn;
}
fullvec_offsetR += otR->bspecn;
}
fullvec_offsetR += otR->bspecn;
}
free(tmp);
return target_packed;