Commit 90c23141 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Use exponential format to save inserted data

parent b4b90ada
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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: CS1_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);