From e3c038a0e1f415561c625bed02ad497ab487a02a Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Fri, 14 Jun 2024 11:59:05 +0000 Subject: [PATCH] Fix inserted data output format --- src/cluster/cluster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cluster/cluster.cpp b/src/cluster/cluster.cpp index a6d640b8..9d5dc7a1 100644 --- a/src/cluster/cluster.cpp +++ b/src/cluster/cluster.cpp @@ -1348,9 +1348,9 @@ int cluster_jxi488_cycle(int jxi488, ScattererConfiguration *sconf, GeometryConf output->append_line(virtual_line); double alamb = 2.0 * 3.141592653589793 / cid->vk; if (ilr290 == 1) { - sprintf(virtual_line, "INSERTION: CS1_CLUSTER %9.2lf%9.2lf%9.2lf%9.2lf%9.2lf%13.5lf%13.5lf%13.5lf\n\0", alamb, th, ph, ths, phs, scasec, abssec, extsec); + sprintf(virtual_line, "INSERTION: CS1_CLUSTER %13.5le%10.3le%10.3le%15.7le%15.7le%15.7le\n\0", alamb, th, ths, scasec, abssec, extsec); } else if (ilr290 == 2) { - sprintf(virtual_line, "INSERTION: CS2_CLUSTER %9.2lf%9.2lf%9.2lf%9.2lf%9.2lf%13.5lf%13.5lf%13.5lf\n\0", alamb, th, ph, ths, phs, scasec, abssec, extsec); + sprintf(virtual_line, "INSERTION: CS2_CLUSTER %13.5le%10.3le%10.3le%15.7le%15.7le%15.7le\n\0", alamb, th, ths, scasec, abssec, extsec); } output->append_line(virtual_line); bool goto190 = isam >= 0 && (jths > 1 || jphs > 1); -- GitLab