From 663a5915ddffd99d32b11676912b408c1c356b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 10 Sep 2018 13:02:12 +0300 Subject: [PATCH] Print csphase in test output Former-commit-id: 6cfd97014efd971a64f71c180f30260137a8e2f7 --- tests/ewalds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ewalds.c b/tests/ewalds.c index 3bc0eda..3774785 100644 --- a/tests/ewalds.c +++ b/tests/ewalds.c @@ -67,8 +67,8 @@ int main() { ewaldtest_triang_results *r = ewaldtest_triang(p); // TODO print per-test header here printf("===============================\n"); - printf("Kmax = %g, Rmax = %g, lMax = %d, eta = %g, k = %g, beta = (%g,%g)\n", - p.maxK, p.maxR, p.lMax, p.eta, p.k, p.beta.x, p.beta.y); + printf("Kmax = %g, Rmax = %g, lMax = %d, eta = %g, k = %g, beta = (%g,%g), csphase = %g\n", + p.maxK, p.maxR, p.lMax, p.eta, p.k, p.beta.x, p.beta.y, p.csphase); printf("sigma0: %.16g%+.16gj\n", creal(r->sigma0), cimag(r->sigma0)); for (qpms_l_t n = 0; n <= p.lMax; ++n) { for (qpms_m_t m = -n; m <= n; ++m){