aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-23 13:00:18 +0200
committerThomas White <taw@physics.org>2021-07-23 13:00:18 +0200
commit91ae9e7c30ffea89ae57fe7107958d8634d829ba (patch)
tree21e0cb3a63cb5a926e6e1fcae114afa0a1ec1930 /src
parent1d510c6481ad92ad5ffee8eb6a2397873ecd3883 (diff)
partial_sim: Fix printf format string
Diffstat (limited to 'src')
-rw-r--r--src/partial_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index ff9a73ac..3fd8cf4c 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -1015,7 +1015,7 @@ int main(int argc, char *argv[])
rcen = i/(double)NBINS*qargs.max_q
+ qargs.max_q/(2.0*NBINS);
- fprintf(fh, "%.2f %7li %.3f %.3f\n", rcen/1.0e9,
+ fprintf(fh, "%.2f %7lu %.3f %.3f\n", rcen/1.0e9,
qargs.n_ref[i],
qargs.p_hist[i]/qargs.n_ref[i],
qargs.p_max[i]);