fix uninitialised value
Former-commit-id: 22535c732f1c6ebb7e97b73e32d88149670a9071
This commit is contained in:
parent
fbcd9d12ff
commit
bff06d61d2
|
@ -176,6 +176,7 @@ int main(int argc, char **argv) {
|
||||||
r, sc.x, sc.y, sc.z, ss.r, ss.theta, ss.phi,
|
r, sc.x, sc.y, sc.z, ss.r, ss.theta, ss.phi,
|
||||||
w2c.x, w2c.y, w2c.z, w2s.r, w2s.theta, w2s.phi);
|
w2c.x, w2c.y, w2c.z, w2s.r, w2s.theta, w2s.phi);
|
||||||
complex double A[nelem], B[nelem]; // translation ceofficients
|
complex double A[nelem], B[nelem]; // translation ceofficients
|
||||||
|
if(QPMS_SUCCESS != qpms_vswf_fill(NULL, M1, N1, lMax, w1s, J, norm)) abort();
|
||||||
csphvec_t M2at2[nelem], N2at2[nelem], M1at2, N1at2, M1Rat2, N1Rat2;
|
csphvec_t M2at2[nelem], N2at2[nelem], M1at2, N1at2, M1Rat2, N1Rat2;
|
||||||
if(QPMS_SUCCESS != qpms_vswf_fill(NULL, M2at2, N2at2, lMax, w2s, J, norm)) abort();
|
if(QPMS_SUCCESS != qpms_vswf_fill(NULL, M2at2, N2at2, lMax, w2s, J, norm)) abort();
|
||||||
for(qpms_y_t y2 = 0; y2 < nelem; ++y2) {
|
for(qpms_y_t y2 = 0; y2 < nelem; ++y2) {
|
||||||
|
|
Loading…
Reference in New Issue