From bff06d61d2078d81e1a419bac5eea149788e9b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Wed, 25 Apr 2018 22:38:04 +0300 Subject: [PATCH] fix uninitialised value Former-commit-id: 22535c732f1c6ebb7e97b73e32d88149670a9071 --- qpms/tests/vswf_translation_test_rays.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qpms/tests/vswf_translation_test_rays.c b/qpms/tests/vswf_translation_test_rays.c index e984111..8351a0e 100644 --- a/qpms/tests/vswf_translation_test_rays.c +++ b/qpms/tests/vswf_translation_test_rays.c @@ -176,6 +176,7 @@ int main(int argc, char **argv) { 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); 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; if(QPMS_SUCCESS != qpms_vswf_fill(NULL, M2at2, N2at2, lMax, w2s, J, norm)) abort(); for(qpms_y_t y2 = 0; y2 < nelem; ++y2) {