aboutsummaryrefslogtreecommitdiff
path: root/src/reflections.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-29 17:27:54 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:51 +0100
commit15cf6053dbb67c8d44c588add3a40fed8014f611 (patch)
treee200cd171c3c9d8f8b63af8002dbe560cd46fc1f /src/reflections.c
parent5bc4a6971f6ed08bc63f685cf39994d836af19d3 (diff)
Alter format of reflection lists to be more Fortran-friendly (ick)
Diffstat (limited to 'src/reflections.c')
-rw-r--r--src/reflections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflections.c b/src/reflections.c
index 90406bee..fdbe86a8 100644
--- a/src/reflections.c
+++ b/src/reflections.c
@@ -85,8 +85,8 @@ void write_reflections(const char *filename, unsigned int *counts,
}
/* h, k, l, I, sigma(I), s */
- fprintf(fh, "%3i %3i %3i %f %s %f %f\n", h, k, l, intensity, ph,
- 0.0, s/1.0e9);
+ fprintf(fh, "%3i %3i %3i %10.2f %s %10.2f %10.2f\n",
+ h, k, l, intensity, ph, 0.0, s/1.0e9);
}
}