From dc616f6b7e1c14b33330b8ba29d5797fb5d3f560 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 2 Apr 2015 21:12:58 -0700 Subject: Increase precision of det_shift and clen_shift --- src/predict-refine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/predict-refine.c b/src/predict-refine.c index 9c923a6b..99c24b40 100644 --- a/src/predict-refine.c +++ b/src/predict-refine.c @@ -659,8 +659,8 @@ int refine_prediction(struct image *image, Crystal *cr) &total_x, &total_y, &total_z) ) return 1; } - snprintf(tmp, 1024, "predict_refine/det_shift x = %.2f y = %.2f mm\n" - "predict_refine/clen_shift = %.2f mm", + snprintf(tmp, 1024, "predict_refine/det_shift x = %.3f y = %.3f mm\n" + "predict_refine/clen_shift = %.3f mm", total_x*1e3, total_y*1e3, total_z*1e3); crystal_add_notes(cr, tmp); -- cgit v1.2.3