Commit 6a6ca3f4 authored by Thomas White's avatar Thomas White Committed by Thomas White
Browse files

render_hkl: Complain if there are no reflections

parent 17dc614a
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment