aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/facetron.c2
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 ) {