diff options
author | Thomas White <taw@physics.org> | 2010-10-29 17:23:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:04 +0100 |
commit | e3eed0966702473e2146def38ce8664b4fe0acaa (patch) | |
tree | 542d318c65e4ead393541d4d0cbb850078aae500 /src | |
parent | a784ead2cbac29e11bb9b09bfeeb8076749fe9a4 (diff) |
facetron: Sanitise symmetry
Diffstat (limited to 'src')
-rw-r--r-- | src/facetron.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/facetron.c b/src/facetron.c index 42a4bd1b..cdc911d1 100644 --- a/src/facetron.c +++ b/src/facetron.c @@ -358,6 +358,8 @@ int main(int argc, char *argv[]) } } + if ( sym == NULL ) sym = strdup("1"); + /* Get detector geometry */ det = get_detector_geometry(geomfile); if ( det == NULL ) { |