aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-02-04 13:06:43 +0100
committerThomas White <taw@physics.org>2014-02-04 13:06:43 +0100
commit567762bc0801f71ffa64869b1773a088d353cbec (patch)
treefe805a9db722a006d588ea4fee41e385b98a7c25 /src/diffraction-gpu.c
parent6ee21aaa02a5c11bd1269bff0bc7d23b0d402c1e (diff)
Two colour fixes
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r--src/diffraction-gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c
index 1ed008e8..b5bd2e88 100644
--- a/src/diffraction-gpu.c
+++ b/src/diffraction-gpu.c
@@ -325,7 +325,7 @@ void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
double tot = 0.0;
for ( i=0; i<image->nsamples; i++ ) {
- printf("%.1f eV, weight = %.5f\n",
+ printf("%.3f eV, weight = %.5f\n",
ph_lambda_to_eV(1.0/image->spectrum[i].k),
image->spectrum[i].weight);