Commit 6fc63aea authored by Thomas White's avatar Thomas White
Browse files

get_hkl: Fix a segfault

parent 9e296d9f
......@@ -537,6 +537,12 @@ int main(int argc, char *argv[])
RefList *new;
/* Can't do this if point group is invalid */
if ( mero == NULL ) {
ERROR("Need point group to trim centrics.\n");
return 1;
}
STATUS("Trimming duplicate reflections in %s\n",
symmetry_name(mero));
new = trim_centrics(input, mero);
......
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