Commit 3815343a authored by Thomas White's avatar Thomas White
Browse files

compare_hkl: Don't crash if no point group given

parent 3da08caf
...@@ -95,6 +95,10 @@ int main(int argc, char *argv[]) ...@@ -95,6 +95,10 @@ int main(int argc, char *argv[])
return 1; return 1;
} }
if ( sym == NULL ) {
sym = strdup("1");
}
afile = strdup(argv[optind++]); afile = strdup(argv[optind++]);
bfile = strdup(argv[optind]); bfile = strdup(argv[optind]);
......
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