From fbcd9d12ffdfa5c4822a751cc7562a63aec7461f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Wed, 25 Apr 2018 20:37:34 +0300 Subject: [PATCH] Small fixes Former-commit-id: 100df715f56500e605ee77fd86afec8153e3225a --- qpms/tests/vswf_translation_test_rays.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/qpms/tests/vswf_translation_test_rays.c b/qpms/tests/vswf_translation_test_rays.c index 312445f..e984111 100644 --- a/qpms/tests/vswf_translation_test_rays.c +++ b/qpms/tests/vswf_translation_test_rays.c @@ -136,7 +136,7 @@ int main(int argc, char **argv) { "R(Mr1@2(%d,%d).φ)\tI(Mr1@2(%d,%d).φ)\t" "R(Nr1@2(%d,%d).r)\tI(Nr1@2(%d,%d).r)\t" "R(Nr1@2(%d,%d).θ)\tI(Nr1@2(%d,%d).θ)\t" - "R(Nr1@2(%d,%d).φ)\tI(Nr1@2(%d,%d).φ)\n", + "R(Nr1@2(%d,%d).φ)\tI(Nr1@2(%d,%d).φ)\t", l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, l1,m1,l1,m1, @@ -158,6 +158,7 @@ int main(int argc, char **argv) { l2,m2,l2,m2, l2,m2,l2,m2, l2,m2,l2,m2 ); } + fputc('\n', pfile[p]); } } @@ -181,7 +182,11 @@ int main(int argc, char **argv) { qpms_l_t l2; qpms_m_t m2; qpms_y2mn_p(y2, &m2, &l2); if (QPMS_SUCCESS != qpms_trans_calculator_get_AB_p(c, &(A[y2]), &(B[y2]), - m2, l2, m1, l1, // !!! FIXME mám správné pořadí??? !!! +#ifdef REVERSE + m1, l1, m2, l2, +#else + m2, l2, m1, l1, // !!! FIXME mám správné pořadí??? !!! +#endif ss, true /* FIXME Pro J != 1 */, J)) abort(); }