aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-07-18 15:09:46 -0400
committerThomas White <taw@physics.org>2012-02-22 15:26:54 +0100
commit6a6ca3f4ff5ea8ccc22edca441a67c6598f9c69b (patch)
tree16e6528fb301cb052f33593c4ef7e78f252810cd
parent17dc614a8c85ec7c26a0084a5c2ac6b719449634 (diff)
render_hkl: Complain if there are no reflections
-rw-r--r--src/render_hkl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index a1465d92..5a3014ec 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -184,6 +184,7 @@ static void render_za(UnitCell *cell, double *ref, unsigned int *c,
if ( max_val <= 0.0 ) {
max_r = 4.0;
+ STATUS("Couldn't find max value.\n");
goto out;
}